-ms-touch-select

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The -ms-touch-select CSS property is a Microsoft extension that toggles the gripper visual elements that enable touch text selection.

Initial valuegrippers
Applies toall elements
Inheritedyes
Computed valueas specified
Animation typediscrete

Syntax

Values

grippers

The grippers are always on. In addition, selection will start even if an onclick, onmsgesturetap, or onmouseup handler is present. This is the initial value.

none

The grippers are always off and default touch selection functionality is not provided.

Formal syntax

grippers | none

Specifications

Not part of any specification.

Remarks

This property requires Windows 8 or later.

The -ms-touch-select property should only be used by applications that provide their own selection experience. Most other applications should use the -ms-user-select property instead.

If you choose to hide the grippers, you should ensure that users have a mechanism for selecting text via touch. To find out how to do this using JavaScript, see the HTML5 Selection APIs.

This property has no effect on mouse, keyboard, or touchpad interaction.