madebysource / lesshat

Smart LESS CSS mixins library.
lesshat.com
MIT License
2.19k stars 258 forks source link

.transform-origin includes commas in output #71

Closed monovertex closed 10 years ago

monovertex commented 10 years ago

The syntax for the transform-origin property is the following:

transform-origin: x-axis y-axis [z-axis];

However, when I use .transform-origin(50% 0);, the output in the CSS is as follows:

-webkit-transform-origin: 50%, 0%;
-moz-transform-origin: 50%, 0%;
-o-transform-origin: 50%, 0%;
-ms-transform-origin: 50%, 0%;
transform-origin: 50%, 0%;

Note the commas, which cause the CSS values to be invalid. This happens for the 3 arguments variant as well.

I am pretty sure I'm not doing anything wrong, so I guess it is an issue.

I am using v2.0.9.

petrbrzek commented 10 years ago

Thanks for the issue. I fixed it and publish new version 2.0.10.

Have a nice day.