Is it bad to work with pixels in CSS? [closed]
All of the measurements have their own purposes: Use pixels for pixel-based things, like borders. You probably don’t want a border that ends up being 1.3422 pixels wide. Use text-centric measures (em, ex) for text-based things, like content areas, labels, and input boxes. It’s an easy way to make sure you have room for text … Read more