DEV Community

Discussion on: Back to Basic: Should we use Rem, Em or Pixel?

Collapse
etienneburdet profile image
Etienne Burdet

The way I do it today:

  • rem for main text
  • em for things around main text: icons, button padding, secondary text in :before etc.
  • px for anything else, which is the bulk of my app.