pseudoClass property (CSSPageRule, page)
Returns the name of the pseudo class associated with the @page at-rule.
Although the page object is supported, but the @page at-rule does not work in Internet Explorer before version 8.
In Firefox, Opera, Google Chrome, Safari and Internet Explorer from version 9, use the CSSPageRule object instead.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the name of the pseudo class.
One of the following values:
|Rule applies to the first page in the collection.|
|Rule applies to pages on the left side of the binding verso pages.|
|Rule applies to pages on the right side of the binding recto pages.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the pseudoClass property:
Did you find this example helpful?
User Contributed Comments