css ease animation codes code example
Example 1: css opacity animation
<style>
.myelement{
animation: fade-out;
}
@keyframes fade-out{
0%{
opacity: 1.0
}
100{
opacity: 0.0
}
}
</style>
Example 2: learn css animations transform
Read this comprehensive article about CSS animation transform property.
It also has many useful examples that help you in best way.
https://medium.com/swlh/learn-css-transform-animation-zero-to-hero-6a2a643bd56b