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 animation

I am trying to figure out a way to animate the text to swing like a pendulum . The I want the second knock to be able to create a knocking animation against the first knock. Here is a link to a pic of the logo.


I would like to use css if at all possible. Any ideas would be appreciated into how to create this. Thanks in advance.

1 Answer

First of all I've never done something like that before, 2nd I'm not done with css animations course ( so i may be way off). But maybe if you use the margin property, and transition-duration.