Basic UI
This section describes Cascading Style Sheets (CSS) features related to basic user interface.
In this section
| Property | Description |
|---|---|
|
Applies one or more styles to specified input fields when the fields are invalid. | |
|
Applies one or more styles to placeholder text in an input element. | |
|
Applies one or more styles to specified input fields when the fields are optional. | |
|
Applies one or more styles to specified input fields when the fields are required. | |
|
Applies one or more styles to specified input fields when the fields are valid. | |
|
Specifies the style of an a element if the link has been visited recently. | |
|
Specifies the box model to use for object sizing. | |
|
Specifies generated content to insert before or after an element. | |
|
Specifies the type of cursor to display as the mouse pointer moves over the object. | |
|
Specifies a combination of separate font properties of the object. Alternatively, sets or retrieves one or more of six user-preference fonts. | |
|
This property is obsolete. Use animation-name instead. | |
|
Specifies the color of the top and left edges of the scroll box and scroll arrows of a scroll bar. | |
|
Specifies the color of the arrow elements of a scroll arrow. | |
|
Specifies the base color of the main elements of a scroll bar. | |
|
Specifies the color of the gutter of a scroll bar. | |
|
Specifies the color of the scroll box and scroll arrows of a scroll bar. | |
|
Specifies the color of the slider tray, and the top and left edges of the scroll box and scroll arrows of a scroll bar. | |
|
Specifies the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar. | |
|
Specifies the color of the track element of a scroll bar. | |
|
Specifies a value that indicates whether to render ellipses (...) to indicate text overflow. | |
|
Specifies a keyword value that indicates where users are able to select text within an element. | |
|
Specifies the magnification scale of the object. | |
|
Specifies the color, style, and width of the outline frame. | |
|
Specifies the color of the outline frame. | |
|
Specifies the length that the outline is offset from the border edge. | |
|
Specifies the style of the outline frame. | |
|
Specifies the width of the outline frame. |