Skip to content

24 ways to impress your friends

Vote up?

@pete_b

I’m a fan of this concept, though to technically nitpick it’s not robust enough to target css class prefixes by using the attribute sub-string selector alone.

Something more verbose like the following would be safer:

@[class^=“foo-”], [class*=” foo-”]@