CSS units for font-size: px | em | rem

When I started digging into CSS, I found various units for font-size. It was a bit confusing as to which one to use when, where and why. After investing some time, I found three units that I decided to use in my projects – px, em and rem. PX Pixels are the easiest measurement to use. But there is a […]

Scroll to top