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 […]

CSS Counters

Ordered lists aren’t the only elements that can be automatically numbered. Thanks to the various counter-related properties, any element can be. CSS counters let you adjust the appearance of content based on its location in a document. For example, you can use counters to automatically number the headings in a webpage. Counters are, in essence, variables […]

Scroll to top