teenagegoths

flickering box shadow

Sep 5th, 2021 (edited)
395
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #main {border-radius: 5px; background-color:white; border:1px solid white;
  2.  
  3. animation: boxxy 2s infinite ease-in-out;
  4. }
  5.  
  6. @keyframes boxxy{
  7. 0%,12%,18%,30%,37%,50%,58%,63%,70%,72%,80%,89%,95% {box-shadow: 0 0 3px 1px #fff;}
  8.  
  9. 5%,10%,15%,20%,29%,36%,44%,49%,55%,68%,76%,85%,99% {box-shadow: 0 0 3px 0px #fff;}
  10.  
  11. 14%,24%,32%,38%,46%,53%,59%,62%,66%,79%,82%,88%,92% {box-shadow: 0 0 3px 0.2px #fff;}
  12.  
  13. 22%,25%,33%,40%,46%,52%,59%,67%,71%,78%,81%,91%,98% {box-shadow: 0 0 3px 0.5px #fff;}
  14. }
RAW Paste Data Copied