Export (0) Print
Expand All
3 out of 6 rated this helpful - Rate this topic

Pseudo-elements

This section contains reference topics for all supported Cascading Style Sheets (CSS) pseudo-elements.

In this section

TopicDescription

::after

Defines generated content that functions as a virtual last-child of the matched element.

::before

Defines generated content that functions as a virtual first-child of the matched element.

::first-letter

Applies one or more styles to the first letter of the object.

::first-line

Applies one or more styles to the first line of the object.

::-ms-browse

Applies one or more styles to the browse button of an input type=file control.

::-ms-check

Applies one or more styles to the check of a checkbox or radio button input control.

::-ms-clear

Applies one or more styles to the clear button of a text input control. The clear button is shown only when the text input control has focus and is not empty.

::-ms-expand

Applies one or more styles to the drop-down button of a select control.

::-ms-fill

Applies one or more styles to the progress control. All styles are applied to the bar portion of the determinate progress bar, except for the animation-name style property, which controls the animation of the indeterminate progress control.

::-ms-fill-lower

Applies one or more styles to portion of the track of a input type=range control (also known as a slider control). The styles are applied to the control's track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the track to the left of the thumb.

::-ms-fill-upper

Applies one or more styles to portion of the track of a input type=range control (also known as a slider control). The styles are applied to the control's track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the track to the right of the thumb.

::-ms-reveal

Applies one or more styles to the password reveal button of an input type=password control.

::-ms-thumb

Applies one or more styles to portion of the input type=range control (also known as a slider control) that the user drags.

::-ms-ticks-after

Applies one or more styles to the tick marks after the slider track of an input type=range (also known as a slider) control. In a left-to-right layout, these are the ticks below the track. In a top-to-bottom layout, these are the ticks to the right of a track.

::-ms-ticks-before

Applies one or more styles to the tick marks before the slider track of an input type=range control (also known as a slider control). In a left-to-right layout, these are the ticks above the track. In a top-to-bottom layout, these are the ticks to the left of a track.

::-ms-tooltip

Applies one or more styles to the tooltip of a slider (input type=range).

::-ms-track

Applies one or more styles to the track of an input type=range control (also known as a slider control).

::-ms-value

Applies one or more styles to the content of a text or password input control, or a select control.

::selection

Applies one or more styles to any text on the page that the user has highlighted.

 

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.