I've received some code reviews and I'd like to share the below since it seems very useful to have clear codes.
Order of CSS properties
- Layout Properties (position, float, clear, display)
- Box Model Properties (width, height, margin, padding)
- Visual Properties (colour, background, border, box-shadow)
- Typography Properties (font-size, font-family, text-align, text-transform)
- Miscellaneous Properties (cursor, overflow, z-index)
Β