0

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".

2 Answers 2

0

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

http://shouldiprefix.com/

0

I'm partial to checking https://autoprefixer.github.io/ as it can vary depending on how far back you want to support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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