Description
Hi there!
Since were playing around with fruits and plates and similar (no real-life examples), I'd come up with attributes that would further describe the freshness of the fruits, or condition of the plates (broken?) to use together with attribute selectors.
A few Examples
plate[condition=broken]
Attribute equals exact value
apple[condition^=rotten]
Attribute begins with value
Never used this selector, but why not include it?
bento[title$=sushi]
Attribute ends with value
There are still more.
A full list can be found here: http://css-tricks.com/attribute-selectors/
Something to add: Attributes tend to be not so visible on real-life examples. Other than data- attributes, which are processed per javascript. I came up with examples which could be visible, both in the markup and also on the table. The selectors can also be used with classes and IDs of course.
Cheers,
-Martin