Skip to main content

CSS

How to style your website.

Selectors

These two guides should cover most of what you need to know:

Normalize

CSS comes with some default styles that are not consistent across browsers. You may follow this guide to get a reasonable baseline.

Or just use one of the following:

info

If you're using a CSS framework, it may already include a normalize file.

Layout

  • Use Flexbox for 1D layout
  • Use Grid for 2D layout