lundi 7 décembre 2015

Why is CSS3 transform attribute format designed like that?

Currently, the CSS3 transform syntax is designed like this:

transform: translate(350px, -350px) rotate(360deg);

I was just curious why it is not designed separately like this:

translate: 350px, -350px;
rotate: 360deg;

Or with a prefix for explicity:

transform-translate: 350px, -350px;
transform-rotate: 360deg;

Does anyone have ideas about this?




Aucun commentaire:

Enregistrer un commentaire