Posts in current category
May 03, 2021 23:00 CSS
As the name implies, a CSS property selector means that an element can be selected based on its properties and property values.
HTML element styles with specific properties are more than just class and id.
Note: I E7 and IE8 need to declare! D OCTYPE supports property selectors! Property selectors are not supported for IE6 and earlier versions.
The following example is to turn all elements containing the title blue:
The following example
The following is an example of an element
the title property that specifies a value,
property and the value with ( . . . .
The following is an example of an
that contains the lang property of a specified
Separate properties and values:
Property selector styles do not need to be in the form of class or id:
CSS Reference Manual: CSS (attribute| .value) selector