CSS2 Test Suite: 5.8.3 Class Selectors

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

.pastoral {color: green;}
P.cl0 {color: green;}
P.give.liberty {color: blue; border: 2px solid red; background: white;}

An H3 element which should NOT be green.

A paragraph element which should NOT be green.

A blockquote element which should NOT be green.
A PRE element which should NOT be green.

[pastoral] An H3 element which should be green.

[pastoral] A paragraph element which should be green.

[pastoral] A blockquote element which should be green.
[pastoral] A PRE element which should be green.

[cl0] An H3 element which should NOT be green.

[cl0] A paragraph which should be green.

[cl0] A blockquote element which should NOT be green.
[cl0] A PRE element which should NOT be green.

This is a paragraph with a class of 'give me liberty', and should be red (border), white (background), and blue (foreground).


[index page] [section] [Previous] [Next] [Specification]