manonamora

Basic Css animation

Feb 6th, 2023
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.24 KB | None | 0 0
  1. /*Animation*/
  2.  
  3. @keyframes flicker {
  4.    0% { opacity:1; }
  5.    50% { opacity:0; }
  6.    100% { opacity:1; }
  7. }
  8.  
  9. .flickering {
  10.    font-size: 50px;
  11.    animation: flicker 1s infinite;
  12. }
  13. /*HTML*/
  14. <div class="flickering">
  15.     Title
  16. </div>
Advertisement
Add Comment
Please, Sign In to add comment