📜  vh vs vw css 代码示例

📅  最后修改于: 2022-03-11 14:47:41.927000             🧑  作者: Mango

代码示例1
vh and vw measure the percentage of height and width of the viewport respectively.
 vw and vh are a percentage of the window width and height, 
respectively: 100vw is 100% of the width, 80vw is 80%, etc. 
This seems like the exact same as the % unit, which is more common