Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?