HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 35. CH31 CSS SELECTORS 292


35.3 Class


In HTML markup, each tag can have a class= attribute. The attribute can
have a list of classes to which this particular tag belongs. If there is more
than one class, they must be surrounded by quote marks and separated by
spaces.


Several items can belong to the same class.


35.4 Pseudo Class


active, visited


first child, nth child, first line, first letter


35.5 Transitions


todo: as we move from field to field, we can identify the field that is currently
active by using a transition.

Free download pdf