5 comments

  • Sallar KaboliSallar Kaboli, over 8 years ago

    I think The animation could have a "return" mode if you put the transition inside the .fave itself not the :hover part.

    0 points
  • Donovan Hutchinson, over 8 years ago

    Site dev here.

    The site's just been set up, so missing all the important stuff like a list of posts on homepage, links to other articles etc, but it's all in the planning. Are there any topics or specific things you'd like to see covered? Would love your input.

    0 points
    • Claudia HernándezClaudia Hernández, over 8 years ago

      I would like an article on when to use (or why use) CSS animations over JS animations (:

      0 points
      • Donovan Hutchinson, over 8 years ago

        Good question. This stuff is changing, used to be that JS was usually the less optimised, less performant choice but it's not the case now.

        Modern JS animation frameworks take advantage of CSS where needed and can actually be more efficient. Plus they have the benefit of being able to apply multiple, more complex animations on single elements where CSS would require adding more elements to create the same effect.

        The flipside to JS though is that it introduces another technology. Whether this is a good or bad thing is up to you, but it's definitely not a "X is better - end of story" situation.

        0 points