Basic UI

This section describes Cascading Style Sheets (CSS) features related to basic user interface.

In this section

PropertyDescription

:invalid

Applies one or more styles to specified input fields when the fields are invalid.

:-ms-input-placeholder

Applies one or more styles to placeholder text in an input element.

:optional

Applies one or more styles to specified input fields when the fields are optional.

:required

Applies one or more styles to specified input fields when the fields are required.

:valid

Applies one or more styles to specified input fields when the fields are valid.

:visited

Specifies the style of an a element if the link has been visited recently.

box-sizing

Specifies the box model to use for object sizing.

content

Specifies generated content to insert before or after an element.

cursor

Specifies the type of cursor to display as the mouse pointer moves over the object.

font

Specifies a combination of separate font properties of the object. Alternatively, sets or retrieves one or more of six user-preference fonts.

-ms-progress-appearance

This property is obsolete. Use animation-name instead.

-ms-scrollbar-3dlight-color

Specifies the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.

scrollbar-arrow-color

Specifies the color of the arrow elements of a scroll arrow.

scrollbar-base-color

Specifies the base color of the main elements of a scroll bar.

-ms-scrollbar-darkshadow-color

Specifies the color of the gutter of a scroll bar.

scrollbar-face-color

Specifies the color of the scroll box and scroll arrows of a scroll bar.

scrollbar-highlight-color

Specifies the color of the slider tray, and the top and left edges of the scroll box and scroll arrows of a scroll bar.

-ms-scrollbar-shadow-color

Specifies the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.

scrollbar-track-color

Specifies the color of the track element of a scroll bar.

-ms-text-overflow

Specifies a value that indicates whether to render ellipses (...) to indicate text overflow.

-ms-user-select

Specifies a keyword value that indicates where users are able to select text within an element.

zoom

Specifies the magnification scale of the object.

outline

Specifies the color, style, and width of the outline frame.

outline-color

Specifies the color of the outline frame.

outline-style

Specifies the style of the outline frame.

outline-width

Specifies the width of the outline frame.

 

 

 

Show:
© 2014 Microsoft. All rights reserved.