All technologies

Frontend

CSS3

Layout, colour and motion for the web.

How it started

CSS was proposed by Håkon Wium Lie in 1994 and CSS1 became a W3C Recommendation in 1996. CSS3 is not one release: since about 1999 it has been split into independent modules such as Flexbox, Grid and animations.

What it is

CSS controls how HTML looks: typography, spacing, layout, responsive behaviour and animation.

Advantages

  • Powerful layout with Flexbox and Grid
  • Animations and transitions without JavaScript
  • Responsive design through media and container queries

Disadvantages

  • Global scope makes large stylesheets hard to maintain
  • The cascade and specificity cause surprises
  • Very new features may be missing in older browsers

Best used for

Any interface that must look good on phones, tablets and desktops.

More in Frontend

WhatsApp