1. Animated
@keyframes创建动画; @keyframes myfirst{ from{background:red;} to{background:yellow;} }
animation: Animation name 2s; animate.css extension files;
2. @ media selector
head head Add
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Otherwise, mobile devices will be 980px width;
@media screen and (max-width:300px){ }
End phones do page : Use vw units and units of rem
html font size 100/750 * 100; here take the 100 because the PC browser minimum font 12px;
Pixel design / 100rem