<style>
body
{
width: 100%;
height: 100%;
background-color: lightgreen;
position: relative;
-webkit-animation-name: example; /* Safari 4.0 - 8.0 */
-webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
animation-name: example;
animation-duration: 4s;
font-size: 25px;
}
@-webkit-keyframes example {
0% {background-color: lightgreen; left:-200px; top:0px;}
25% {background-color: lightgreen; left:0px; top:0px;}
}
/* Standard syntax */
@keyframes example {
0% {background-color: lightgreen; left:-200px; top:0px;}
25% {background-color: lightgreen; left:0px; top:0px;}
</style>
ありがとう、私はCSSとJavaScriptの力かもしれないと思いました。アニメーション携帯電話の画面では、html動画ではなく時間を節約できるようになっています。私は賛否両論があると思う。 – Patrick