A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/css/cssom/methods/addPageRule below:

addPageRule ยท WebPlatform Docs

addPageRule Summary

Not implemented anywhere. Non standard.

Method of css/cssom/styleSheetcss/cssom/styleSheet

Syntax
var number = stylesheet.addPageRule();
Parameters selector
Data-type
String

A page selector.

style
Data-type
String

This style takes the same form as an inline style specification. For example, "color:blue" is a valid style parameter.

index
Data-type
Number

The zero-based position in the pages collection where the new page object should be placed.

Return Value

Returns an object of type NumberNumber

Always returns -1.

Notes

Each page object represents a style sheet that corresponds to a @page rule in the document.

See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4