A RetroSearch Logo

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

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/CSS below:

CSS - Web APIs | MDN

CSS

Baseline Widely available *

The CSS interface holds useful CSS-related methods. No objects with this interface are implemented: it contains only static methods and is therefore a utilitarian interface.

Static properties
CSS.highlights

Provides access to the HighlightRegistry used to style arbitrary text ranges using the CSS Custom Highlight API.

CSS.paintWorklet Experimental Secure context

Provides access to the Worklet responsible for all the classes related to painting.

Instance properties

The CSS interface is a utility interface and no object of this type can be created: only static properties are defined on it.

Static methods

No inherited static methods.

CSS.registerProperty()

Registers custom properties, allowing for property type checking, default values, and properties that do or do not inherit their value.

CSS.supports()

Returns a boolean value indicating if the pair property-value, or the condition, given in parameter is supported.

CSS.escape()

Can be used to escape a string mostly for use as part of a CSS selector.

CSS factory functions

Can be used to return a new CSSUnitValue with a value of the parameter number of the units of the name of the factory function method used.

CSS.em(3); // CSSUnitValue {value: 3, unit: "em"}
Instance methods

The CSS interface is a utility interface and no object of this type can be created: only static methods are defined on it.

Specifications Browser compatibility

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