Forums

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

Home Forums Design Most effective way to have animated icons…

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #182417
    KungPaoKitties
    Participant

    Hi all, I’m a web designer novice and I am wanting a simple icon that is animated over hover. Nowadays I see there are things such as CSS3 animations, HTML canvas, etc. and I am not too sure which method to use. An example of what I am talking about can be found here:

    https://mega.co.nz/

    #182483
    Paulie_D
    Member

    If it’s just a hover state then you want a ‘transition’ more than likely.

    What you use to build the ‘icon’ will depend on how complex the icons is.

    SVG is the current flavour of the month though.

    #182499
    nixnerd
    Participant

    Yeah… it all depends on what you want the icon to do. If it’s like a little bird flapping its wings… you’re gonna need SVG.

    #182517
    KungPaoKitties
    Participant

    I am trying to achieve a circular logo that expands over hover and then contracts when not hovered and I want an actual animation applied to it not just one to the other. I want it to gradually expand and then contract so I assume SVG is the way to go? Any good (simple) tutorials out there that delve deeper into SVG animations?

    #182518
    Paulie_D
    Member

    You’re probably overthinking it.

    A simple div with a 50% border radius that scales on hover

    http://jsfiddle.net/sw3fvgjx/5/

    #182519
    chrisburton
    Participant

    Like this?:

    Edit: Paulie_D has it.

    #182570
    KungPaoKitties
    Participant

    Ahhh okay! Definitely was over-thinking it. Got most of everything kosher however I am having an odd issue that is creating an annoying blur as it transitions. Anyway to fix this?

    http://jsfiddle.net/r6x3pwt2/14/

    #184191
    Jando Jando
    Participant

    In what browser? Don’t see it in firefox.

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