Skip to content
Justice Tech School

CSS Best PracticesPremium

Use classes for styling and keep specificity low. Name classes by purpose, such as .card-title, rather than by look. Start with a small reset like box-sizing: border-box, group related rules, and use custom properties for colours and spacing.

This is a Premium lesson

All the basic lessons are free. Advanced and in-depth lessons, with every example, exercise and quiz, are included with a Premium subscription.

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.