CSS Tricks: Why you should never use px to set font-size in CSS is an important, and poorly understood topic. If you pick the wrong unit, you risk overriding your users’ preferences, making it stands for “root em,” and the root of a webpage is the tag.
Table of contents
What units are we talking about, and what do they do?Why this all mattersWhich to chooseA final word on accessibilityPosted in:10 Comments
Sort: