Core: learn it Step 3 of 16 on the Frontend Developer roadmap
CSS fundamentals
CSS controls how HTML looks: colours, fonts, spacing and layout. It works by matching elements with selectors and applying rules, and when rules clash some win over others. Once you understand the cascade and the box model, CSS stops feeling random.