Animation with timing duration
Another example of CSS
Animation
with timing duration
<html>
<head>
<style>
.exam
{
height:100px;
width:100px;
animation: pulse 5s infinite;
}
@keyframes pulse {
0% {
background-color: red;
}
50% {
background-color: yellow;
}
100% {
background-color: green;
}
}
</style>
</head>
<body>
<div class="exam">HTML</div>
</body>
</html>
Comments
Post a Comment