Browser Compatibility Testing of ::selection CSS pseudo-element

Get Started

Browser Compatibility Testing of ::selection CSS pseudo-element

::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. Utilizing your cursor select this sentence. Notice how as you select the content a foundation shading fills the space? You can change the foundation shading and shade of chosen message by styling ::determination. Styling this pseudo component is incredible for coordinating client chose content to your destinations shading plan. A CSS pseudo-component is utilized to style indicated parts of a component. For instance, it tends to be utilized to: Style the primary letter, or line, of a component Embed content previously, or after, the substance of a component

Sign Up For Free

online web app testing


Test your Web App on LambdaTest

With LambdaTest you can test your website on 2000+ browser and OS combinations for cross browser compatibility issues and ensure that your webpage fallbacks are working fine on browsers that do not support ::selection CSS pseudo-element.

All Browser Versions

Real Time Testing on Chrome browser

BROWSER SUPPORT FOR ::selection CSS pseudo-element

Google Chrome

::selection CSS pseudo-element is supported by Chrome browser.

Mozilla Firefox

This element is supported by Mozilla Firefox browser with prefix -moz-.

Internet Explorer

Internet Explorer browser version 6 to 8 doesn't support this web element.IE 9 to 11 supports this browser element.


Safari browser is compatible with ::selection CSS pseudo-element property.

Microsoft Edge

This browser element is fully supported by Microsoft Edge browser.


Opera browser version 11.1 to 53 completely supports this web element.

Information sourced from

"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.

Other Browser Elements and Properties

All websites and webapps use collections of a lot of browser technologies and elements. Not all of these elements are supported by all browsers and browser versions. At LambdaTest you can test your website on all browsers and browser versions and easily debug browser compatibility issues in real time.

Checkout All Elements


Fastest Way for Cross Browser Testing

Test your website on Firefox

You can test your website for cross browser compatibility across all Firefox browser versions using LambdaTest

Test your website on Chrome

Perform cross browser testing of your website/ webapp across all Chrome browser versions using LambdaTest

Test your website on Safari

Check your website on all Safari browser on Mac and Windows for cross browser compatibility with LambdaTest

Test your website on IE

Perfrom cross browser testing of your website/ web app across all IE verions using LambdaTest

Free Plan With 60 Minutes of Live Testing

Our plans starts with a free plan where you access to all features and free 60 minutes of live testing per month.

Scale As You Go

Need support for a larger team? We have very flexible plans and if they don’t suffice, leave us a message here, and we would help you out.