::selection CSS pseudo-element

The ::selection CSS pseudo-element applies rules to the portion of a document that has been highlighted (e.g., selected with the mouse or another pointing device) by the user.

IE Edge Firefox Chrome Safari Opera iOS Safari Opera Mini Android Browser Blackberry Browser Opera Mobile Chrome for Android Firefox for Android IE Mobile UC Browser for Android Samsung Internet QQ Browser Baidu Browser
49
56 9.3 4.4
14 52moz 57 10 10.0-10.2 4.4.3-4.4.4 4
11 15 53moz 58 10.1 44 10.3 all 56 10 37 57 52moz 11 11.4 5 1.2 7.12
54moz 59 TP 45
55moz 60 46
56moz 61

Links