0

What are the different measurements used in CSS to measure width, breath, etc

CSS measuremen

9th Oct 2022, 2:50 PM
Inioluwa Atanda
Inioluwa Atanda - avatar
5 odpowiedzi
+ 4
Inioluwa Atanda It depends on browsers width and height Means it will be different for each device depending on width and height for example 50vh = always 50% of viewport
9th Oct 2022, 5:40 PM
Sujal
Sujal - avatar
+ 5
Inioluwa Atanda vh means viewport height and vw means viewport width 1vw = 1% of viewport width For more information ℹ️ You can visit : [https://www.w3schools.com/cssref/css_units.asp]↗️
9th Oct 2022, 5:35 PM
Sujal
Sujal - avatar
+ 1
Thanks so much So how is it used??
9th Oct 2022, 5:37 PM
Inioluwa Atanda
Inioluwa Atanda - avatar
0
How is em diferent from px
9th Oct 2022, 4:39 PM
Inioluwa Atanda
Inioluwa Atanda - avatar
0
Ok thanks How about vh?
9th Oct 2022, 4:42 PM
Inioluwa Atanda
Inioluwa Atanda - avatar