2.6. Applying Attribute Selectors
2.6.1. Problem
You want to use style elements based on preexisting attributes of
HTML elements, rather than adding an additional class
attribute.
2.6.2. Solution
CSS2 attribute selectors have the following four main options for
finding an element:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial