<html>
<head>
<style>
#myDIV {
border: 1px solid black;
width: 400px;
height: 100px;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {font: 40px bold;}
}
</style>
</head>
<body>
<h1>Animation of font</h1>
<p>Gradually change the font property:<p>
<div id="myDIV">
<p>This is a paragraph</p>
</div>
<p>The font property is a shorthand property for all font properties.</p>
<p>font-size, font-weight, font-stretch, and line-height are <em>animatable</em> in CSS.</p>
</body>
</html>