I have following code
HTML
<div></div>
css
div {
background: tomato;
width: 100px;
height: 100px;
-webkit-animation: animateThis 0.3s ease-in;
-webkit-animation-fill-mode: forwards;
}
@-webkit-keyframes animateThis {
0% {
width: 100px;
height: 100px;
}
100% {
width: 100%;
height: 100%;
}
}
我要做的是将div的宽度和高度扩展到100%,以覆盖整个浏览器。我不知道如何动画显示100%的高度。我在谷歌上搜索过,但没有找到合适的结果。