Session slides from Future Insights Live, Vegas 2015:
https://futureinsightslive.com/las-vegas-2015/
In this session we'll dive deep into the nuts and bolts of how to audit your existing CSS. By understanding the reasons for doing it as well as how you can learn, as your auditing, how to keep your CSS lean and mean in the future. You'll leave with tools and ideas for how to do an audit, as well as what to do with the information once you’ve got it. Your audit can even be a springboard to create CSS guidelines and even a style guide.
43. Document your CSS
Comments?
Spaces or tabs?
Empty lines between rule set?
Space between property and value?
Is nesting OK at all, if so how deep?
Break up CSS into one style sheet per module or not?
Build process if using a preprocessor?
Do you commit and track generated files?
44. Where will docs live?
Easily accessible & convenient for entire team
Best online, either privately or publicly
45. How will it maintained?
• Schedule when to go back to audit & review
• Base schedule on the rate of your
application changing.
• Monthly, Quarterly, Yearly?
46. Time estimate
Imagine you could devote time to just
this? How long would it take?
By section or the entire thing?
52. BONUS POINTS for documentation that helps
people understand you code base quickly.
53. Thank you
A note of thanks to Ethan Marcotte, Rob Brackett, Jason Grigsby, Max Fenton and
Jonathan Snook for early feedback on this talk.
Also, thanks to Flickr users and their creative commons photos.
@susanjrobertson susanjeanrobertson.com