Why is CSS3 doing animations?

Posted by Joseph the Dreamer on Programmers See other posts from Programmers or by Joseph the Dreamer
Published on 2012-11-03T17:25:38Z Indexed on 2012/11/03 23:17 UTC
Read the original article Hit count: 355

Filed under:
|

Like what the title says, why are there animations in CSS3?

With basis from the "rule" of separation of concerns, HTML is the content, CSS is the style, and JavaScript is the interactive component. And by interactivity, one can conclude that anything moving due to any interaction, user or non-user triggered should be covered by JavaScript, not CSS.

So why did they make CSS3 capable of doing animations? Doesn't it breach the rule, which is separation of concerns? Is there anything I missed that makes animations qualified to be classified as styles rather than interaction?

© Programmers or respective owner

Related posts about css

Related posts about separation-of-concerns