TLDR Dev · ARTICLES & TUTORIALS
THE BEST CSS UNIT MIGHT BE A COMBINATION
Summary from the TLDR Dev newsletter
Instead of choosing between pixels (px) and relative units like em or rem, developers should combine them using CSS comparison and math functions. Combining units allows for responsive designs that respect both user preferences and the site's intended appearance.