CSS中vw和vh单位的使用
vw——viewpoint width,视窗宽度,1vw等于视窗宽度的1%; vh——viewpoint height,视窗高度,1vh等于视窗高度的1%;
例子:
http://tutorialzine.com/2015/05/simplify-your-stylesheets-with-the-magical-css-viewport-units/
vw——viewpoint width,视窗宽度,1vw等于视窗宽度的1%; vh——viewpoint height,视窗高度,1vh等于视窗高度的1%;
例子:
http://tutorialzine.com/2015/05/simplify-your-stylesheets-with-the-magical-css-viewport-units/