Introduction
When I first started writing CSS code, I was perplexed by the numerous units used for font size, and I had no idea when, how, or why to utilize particular font units. Following some research, I’ve come up with several units that we may utilize in our projects.
CSS properties like padding, margin, height, width, and so on make use of measurements. In this case, the units of measurement are px, em, rem, and VW.