DEV Community

Discussion on: How to write CSS Selectors like a BOSS

Collapse
 
trasherdk profile image
TrasherDK • Edited

Example 6 screams at me.

attrib^=value Saying it uses part of the attribute value is just wrong.
It matches the start of the attribute value, and only that.

Showing the ^= without also demonstrating $= seems equally wrong.

EDIT: attrib*=value is the one that uses part of the attribute value