Web features explorer

text-decoration in ::selection

Limited availability
Tags: css Groups: CSS > Selectors Selection

The text-decoration CSS property in a ::selection rule sets the underline and other text decoration styles on the text a user has highlighted.

Browser support