DEV Community

Discussion on: What CSS font-size units do you prefer to use?

Collapse
weswedding profile image
Weston Wedding

On web I prefer rems, but will modify the 16px baseline depending on client needs (like font sizes that adjust based on display width).

Usually pixels if I'm making an Electron application that's on a fixed device screen size and doesn't need to support multiple devices.