I planned on building a website and I don't seem to find any way to time the animations. Here's an example:
<!DOCTYPE html>
<html>
<head>
<style>
.image {
animation-name: appear;
animation-duration: 5s;
}
.extremebig {
font-size: 200px;
}
@keyframes appear {
0% {opacity: 0;}
100% {opacity: 1.0;}
}
</style>
</head>
<body>
<p class="extremebig">hello!</p>
<img src="https://www.pngplay.com/wp-content/uploads/6/Red-Leafy-Apple-Fruit-Transparent-PNG.png" class="image"/>
</body>
</html>
My idea of timing it is that the apple only starts appearing when it is visible to the visitor of the website. Do you guys have any idea?