0 Replies - 1737 Views - Last Post: 12 November 2013 - 04:47 AM

#1 CY5   User is offline

  • D.I.C Regular

Reputation: 17
  • View blog
  • Posts: 413
  • Joined: 28-September 12

How can i get Keyframes value

Posted 12 November 2013 - 04:47 AM

i have a progress bar and i want to get its value . .bar class inside css animates my progress bar and i wanted to get value of progress bar when keyframes value is on 0% 25% .. 100%.
.bar {
    border-radius:5px;
    animation:myfirst 50s;
    -webkit-animation:myfirst 50s;
    -webkit-animation-play-state:running;
    animation-play-state:running;
}

@keyframes myfirst {
    0% {
        height:0%;
    }
    25% {
         height:25%;
    }
    50% {
         height:50%;
    }
    100% {
        height:100%;
    }
}



Is This A Good Question/Topic? 0
  • +

Page 1 of 1