Jump to content

Year

Day

24 ways to impress your friends

Vote up?

  • Gunnar Bittersmann http://bitetersmann.de

    ‘*=’ considered harmful, as ‘[class*=reed]’ not only matches all elements of the class “reed”, but also all elements of the class “freedom”. Use with care.
    The equivalent to ‘.reed’ is ‘[class~=reed]’.
    You’re better off matching the beginning with ‘^=’ or the end with ‘$=’.
    http://www.w3.org/TR/selectors/#attribute-selectors