Chapter 5 - Selectors - 5.8.3 Class selectors
Go to the relevant page of the specification.
- c14-classes-000
-
Class as selector
- class-000
-
Selectors: Class selectors
Browsers should apply each rule to the elements which have the specified class - class-001
-
Selectors: Class selectors with the universal selector
Browsers should apply each rule to the elements which have the specified class - class-002
-
Selectors: Class selectors: Multiple classes
Browsers should apply each rule to the elements which have the specified class or classes - class-selector-001
-
Class selectors with only a partial match of 'class' attribute
Class selector need to match any or all of the values in the 'class' attribute. - class-selector-002
-
Class selectors with a type
Class selector with a type, match the appropriate element. - class-selector-003
-
Class selectors without a type
Class selector without a type, match the appropriate element. - class-selector-004 (invalid)
-
Invalid class selectors with a space between the "." and the class name
The attribute value of a class selector followed by white space is invalid. - class-selector-005 (invalid)
-
Invalid class selectors with a carriage return between the "." and the class name
The attribute value of a class selector followed by white space is invalid. - class-selector-006
-
Multiple class selectors
All class names in the selector need to match all of the 'class' attribute values. - class-selector-007
-
Multiple class selectors and missing class values
All class names in the selector need to match all of the 'class' attribute values. - class-selector-008
-
CSS: Case Sensitive Classes
- class-selector-009
-
Multiple classes
- class-selector-010
-
Multiple classes
- class-selector-011
-
Multiple classes
- class-selector-012
-
Multiple classes