codemarch
codemarch

@codemarch

9 Tweets 5 reads Dec 12, 2022
Some fundamental CSS concepts for web developers to understand.
This thread🧵 all about CSS Units.
CSS Units
👉 CSS has several different units for expressing a length.
👉 Many CSS properties take "length" values, such as `width`, `margin`, `padding`, `font-size`, etc.
🔶Absolute Lengths
The absolute length units are fixed and a length expressed in any of these will appear as exactly that size.
Example👇
🔶 Relative Lengths
Relative length units specify a length relative to another length property. Relative length units scale better between different rendering mediums.
Example of vh and % 👇
Concept of emphemeral unit ( em )👇
Example of ephemeral unit👇
End of this Thread🧵
If you enjoyed this thread, please like, comment, and retweet the opening tweet.
🔹Follow @codemarch
🔹You can also check our HTML & CSS Visual Treat!😍for more!!!codemarch.gumroad.com

Loading suggestions...