👉 em : relative to font size of the parent element
👉 rem: relative to font size of the root element
👉 ex : relative to x-height of element's font.
👉 ch : Based on width of the zero(0) character.
(ii) Relative viewport lengths.
👉 vw : Specify a percentage of the width of the current viewport
👉 vh : Specify a percentage of current viewport’s height.
👉 vmax and vmin : Specify the maximum or minimum of the viewport's width or height.
That's it for this thread. Did you find it useful? If yes, considering retweeting it and following me ( @SauravPurohit4 ) for more content on Web Development.
Thank You !!
• • •
Missing some Tweet in this thread? You can try to
force a refresh
- Traversy Media
- The Net Ninja
- JavaScript Mastery
- Web Dev Simplified
- Clever Programmer
- Wes Bos
- Florin Pop
- Free Code Camp
- Dev Ed
- Akshay Saini
- Dcode