Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 417 Bytes

css-reflection.md

File metadata and controls

13 lines (10 loc) · 417 Bytes

Reflection

Here are the questions I ask after I write CSS:

  • Did I match the design?
  • Did I repeat code?
    • If there is repeated 'positional' code, can I extract that out into a 'class' and immediately start using that class safely?
  • Did I target the elements I'm interested in appropriately? i.e. not too specific, not too broad, not tied to a tagName unless there's a good reason to do so.