Friday, April 11, 2014

Re: CSS Attribute *= and ^= selectors

BTW, the GssResource is here: https://github.com/jDramaix/gss.gwt

On Friday, April 11, 2014 4:52:23 PM UTC+2, SP Gingras wrote:
Did you try 

[class\*="icon-"], [class\^=" icon-"]

On Friday, April 12, 2013 10:19:43 AM UTC-4, Robert Pofuk wrote:
Hi,

In my CSS i have:

@Sprite  [class*="icon-"], [class^=" icon-"] {
  gwt-image: "myImage1";
}

@Sprite .icon-white {
    gwt-image: "myImage2";
}

[ERROR]- The @sprite rule [] must specify the gwt-image property

While using some other selectors:
@Sprite  [class|="icon-"], [class~=" icon-"] {
  gwt-image: "myImage1";
}
works as espected!

I'm I doing something wrong or is this a bug?

Tnx!

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