Simple CSS logical AND trick I never knew

2 thoughts on “Simple CSS logical AND trick I never knew”

  1. I’ve been researching conditional operators in CSS (I’m a coder, not a designer, so I’ve always been prohibited from looking at CSS at work), and I ran into this:

    ==> Language specific. (In HTML, the same as DIV[class~=”warning”].)


    ==> Matches any E element whose “foo” attribute value is a list of space-separated values, one of which is exactly equal to “warning”.

Comments are closed.