Binary Logic
Binary Logic

Reputation: 1547

How do I rewrite this to use the compass functions?

Can anyone help me rewrite this using the compass functions?

-webkit-transition: opacity .15s ease, -webkit-transform .15s ease
-moz-transition: opacity .15s ease, -moz-transform .15s ease
-o-transition: opacity .15s ease, -o-transform .15s ease

I don't know how to handle the -*-transform argument. Thanks for your help.

Upvotes: 0

Views: 82

Answers (1)

Miriam Suzanne
Miriam Suzanne

Reputation: 14010

There isn't currently any helper in Compass for that, but you could file an issue on github and we'll look into it. In the meantime, many cases can be solved by the use of 'all':

@include transition(all .15s ease);

Upvotes: 2

Related Questions