The Best CSS Unit For a Responsive Design

Written by adeshola-adewale | Published 2020/02/23
Tech Story Tags: css3 | learning-css | html | frontend | microverse | web-development | hackernoon-es

TLDR 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.via the TL;DR App

no story

Written by adeshola-adewale | An Aspring Software Developer
Published by HackerNoon on 2020/02/23