OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

CSS animation for loading [closed]

  • Thread starter Thread starter Coder_me16
  • Start date Start date
C

Coder_me16

Guest
How I can animate a website loading using animation -> like opacity change?

Code:
@keyframes fadeIn {
    from {
        opacity:0%;
    }
    to {
        opacity:100%;
    }
}

But I want a sequential animation ------> from 0% to 25%, 50%, 75% and 100%.

Using CSS animation
<p>How I can animate a website loading using animation -> like opacity change?</p>
<pre><code>@keyframes fadeIn {
from {
opacity:0%;
}
to {
opacity:100%;
}
}
</code></pre>
<p>But I want a sequential animation ------> from 0% to 25%, 50%, 75% and 100%.</p>
<p>Using CSS animation</p>
Continue reading...
 
Top