1.

What is VH/VW (viewport height/ viewport width) in CSS?

Answer»

It’s a CSS unit used to MEASURE the height and width in percentage with RESPECT to the viewport. It is used MAINLY in responsive design techniques. The measure VH is equal to 1/100 of the height of the viewport. If the height of the browser is 1000px, 1vh is equal to 10px. Similarly, if the width is 1000px, then 1 vw is equal to 10px.



Discussion

No Comment Found