Trident Vendor-Prefixed Pseudo Classes | CSS: Presentation Layer
Standards Based Development
:-ms-input-placeholder Pseudo-Element
:-ms-input-placeholder applies styles to the placeholder text in an input / element. Default is light gray.
input /* normal style */
{
background-color:LightGray;
color:Purple;
}
input.address:-ms-input-placeholder /* placeholder only style */
{
font-style:italic;
background-color:yellow;
color:Red;
}
:-ms-input-placeholder pseudo-class
:-ms-keyboard-active Pseudo-Element
:-ms-keyboard-active applies styles to an element when it has focus and the user presses the space bar. :-ms-keyboard-active pseudo-class can be used to style the following form controls:
buttoninput type="button" /input type="checkbox" /input type="reset" /input type="radio" /input type="submit" /
Note: :-ms-keyboard-active pseudo-class is only available to content displayed inside a Windows Store app.
Note: requires Windows 8.