Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Chris Turner
9,710 PointsKeyframe Rules and Animation Properties - Can't Duplicate Results from Video
I've followed Guil's instructions in the video, making sure my CSS matches his, but I cannot get the animations to work. I'm using Chrome, Version 33.0.1750.154 m.
.prog-bar {
height: 60px;
border-radius: 5px;
background: -webkit-repeating-linear-gradient(-45deg, rgba(255,255,255,.1), rgba(255,255,255,0) 12px), -webkit-linear-gradient(#F5A8A8, #F08080);
-webkit-animation-name: slide;
-webkit-animation-duration: 2s;
}
/* Keyframes
------------------------------------------ */
@-webkit-keyframes slide {
0% { width: 0%; }
30%,
60% { width: 50%; }
70% { width: 70%; }
100% { width: 100; }
}
1 Answer
Chris Turner
9,710 PointsStrange. Once I added
```-webkit-animation-timing-function: ease-out;
it worked fine.