Monday, April 20, 2015

Re: GSS migration: mixin definition for a transition with multiple transition-property

Yes, that works. But it is a bit unintuitive as I have multiple different transitions properties in one stylesheet. So I have to define multiple similiar property variables which are all only used once.


Am Montag, 20. April 2015 15:55:22 UTC+2 schrieb Jens:
Does it work if you create a constant for the properties? E.g.:

@def MY_TRANSITION_PROPERTIES opacity .5s linear 0s, visibility 0s linear .5s;

.class {
  @mixin transitions(MY_TRANSITION_PROPERTIES);
}



-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment