If you're talking aabout the inner content of an element, this is impossible with CSS3. However, you can use this for the data attributes of an element: div [data-value="foo"] { display: block; } - GameGlitz