TL;DR —
CSS units are very important when creating a responsive website and you might wonder which one to use. In this article, I will show you the most suitable CSS units to use for responsive design. There are two types of CSS Units which are: Absolute Length Unit and Relative Length Unit. Rem, Em, Percentage (%), View-width (vw) and View-height are most commonly used. Rem is an absolute unit relative to the root element of the HTML document and is commonly used for font sizes. The Rem unit is a scalable unit in which the browser renders into pixel values. I recommend it for responsiveness.
[story continues]
Written by
@adeshola-adewale
An Aspring Software Developer
Topics and
tags
tags
css3|learning-css|html|frontend|microverse|web-development|hackernoon-es
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: vDP_5CKgQYtquf8U-1UxLcxk8jxZdOE_nHSdxthd_Vs