Twitter's fav animation using CSS steps() (cssanimation.rocks)
over 8 years ago from Donovan Hutchinson, Designer
over 8 years ago from Donovan Hutchinson, Designer
I think The animation could have a "return" mode if you put the transition inside the .fave
itself not the :hover
part.
Good point, I'll give that a go!
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.
I would like an article on when to use (or why use) CSS animations over JS animations (:
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.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now