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

CSS

Paul Boudreau
Paul Boudreau
6,525 Points

CSS Animation Project 1 issue (Safari)

I have downloaded the Project Files for this exercise and when I run it as is with Safari 6.0.5 I get the following warning messages in my editor (Sublime2): 1- "The property -moz-animation is compatible with -webkit-animation and should be included as well, Line 6, Column 1 and Line 9, Column 1" Code: .boat { -webkit-animation: rock-boat 3s ease-in-out infinite; } .boat::after { -webkit-animation: steam 4s 2s infinite; }

2- "Missing standard property 'transform' to go along with '-webkit-transform', Line 17, Column 1 and Line 23, Column 1" Code: @-webkit-keyframes rock-boat { 50% { -webkit-transform: rotate(-5deg) translateY(-10px); } }

@-webkit-keyframes steam { 40%, 60% { opacity: 1; } 100% { -webkit-transform: translate(-15%, -35%) rotateZ(20deg); } }

The boat animation works properly, but the steam image does not appear at all. Anyone have any idea as to what the issue might be? Paul

1 Answer

Mike Morales
Mike Morales
19,833 Points

I tried running the animation through Firefox, and nothing worked on my side. I only get the images of the boat and the grass field's but no animation?