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/styleSheet/addImport below:

addImport ยท WebPlatform Docs

addImport Summary

Non standard. Adds an @import rule to the style sheet.

Method of css/cssom/styleSheetcss/cssom/styleSheet

Syntax
var index = stylesheet.addImport(/* see parameter list */);
Parameters url
Data-type
String

The location of the source file for the style sheet.

index
Data-type
Number

(Optional)

The requested position for the style sheet in the collection. If this value is not given, the style sheet is added to the end of the collection.

Return Value

Returns an object of type NumberNumber

A zero-based index value indicating the position of the imported style sheet in the imports collection.

See also Related articles CSSOM 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