I wonder when I need to use the parameter @_prefix: 1 with .lib-css()

I always use it with the css transform property

.lib-css(transform, scale(0.65), @_prefix: 1);

so that it generates this code:

-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);

How can I easily figure out if I should use @_prefix: 1?

I think I only use it for new special properties but not for default ones like "padding".


There are some websites which can help to figure it out.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.