• CSS declarations precedence is a nightmare • Never style using IDs • If you really have to, use • Do not include in your declarations • Use classes! • And don’t nest them for god sake [id="#shame"]
Recap • Stop thinking about pages, think modules • Solve problems, challenge the design if you need to • Describe the styling purpose, not the content • Reduce specificity of your selectors • Name elements insightfully • Split the code into multiple files easily findable