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_Object_Model/CSS_Declaration below:

CSS Declaration - Web APIs

CSS Declaration

A CSS declaration is an abstract concept not exposed as an object in the DOM. It represents a CSS property and value pairing.

A CSS declaration has the following associated properties:

property name

The property name of the declaration, for example background-color.

value

The value of the declaration as a list of component values.

important flag

Either set or unset.

case-sensitive flag

Set if the property name is defined to be case-sensitive according to the specification, otherwise unset.

Basic example

The following example shows a CSS rule with a CSS declaration block for the <h1> element. The CSS declaration block is the lines between the curly braces, it contains two CSS declarations. One for font-style and another for color.

h1 {
  font-style: italic;
  color: rebeccapurple;
}
Specifications

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