user2054833 user2054833 - 5 months ago 52
CSS Question

Invalid Property when applying combine transformation

When I use the tranform property with one transformation everything works fine but I get 'invalid property' when they are combined. I'm testing with Opera

Does not work

transform: translate(300,0px) rotate(90deg);

Does work

transform: translate(300,0px);


You should use px values instead of single.


transform: translate(300px, 0px) rotate(90deg);

Instead of:

transform: translate(300, 0px) rotate(90deg);

Hope this helps!