Jump to content
17/12/2012
Each advanced attribute selectors has its shortcomings, because of the potential multiplicity of class names.
http://codepen.io/joe/pen/Ilhsp
If you want to handle all cases, you end up with something that looks like this:
[class|=“pod”], [class*=” pod-”], [class*=” pod “], [class$=” pod”]
Vote up?
17/12/2012
Each advanced attribute selectors has its shortcomings, because of the potential multiplicity of class names.
http://codepen.io/joe/pen/Ilhsp
If you want to handle all cases, you end up with something that looks like this:
[class|=“pod”],
[class*=” pod-”],
[class*=” pod “],
[class$=” pod”]