The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Icon font rotate and return on click.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #45611

    Trying to rotate a Icon font on click, without using more then one div. It should possible. I almost got it.

    Check out this Pen!

    also am I doing something wrong on the codepen embed, its not showing up right?


    I’m not sure in which way you want to rotate the text, but you can find a nice and simple tutorial at [this link]( “3dtransforms”) concerning 3D Transforms. Think that’s what you’re looking for.

    Kitty Giraudel

    There you go:

    You forgot to set your icon to block-level. You cannot transform inline elements.


    Thanks for sketching that out for me Hugo, I certainly learned something there. Just started into web animation post flash. Thanks for the link Red that site looks really comprehensive, am sure it will come in handy.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.