Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added @experimental support for vendor-prefixed property and value. #1016

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

There are some cases where prefixing both the property and value is useful.

One example is for creating a mask-image mixin that also prefixes the gradient:

@mixin mask-image($gradient) {
   @include experimental-both(mask-image, $gradient); }

Another use case for this recently became apparent for implementing future-proof transitions for CSS custom filters:

-webkit-transition: -webkit-filter ease-in-out 1s;

Could be written as:

@include experimental-both(transition, filter ease-in-out 1s);
Owner

scottdavis commented Nov 2, 2012

Needs a test case

Owner

chriseppstein commented Dec 4, 2013

The experimental mixin is basically unused now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment