W3 Mind Logo
Home » CSS3 ::selection Selector

CSS3 ::selection Selector

				
					::-moz-selection { /* For Firefox */
    color: white;
    background: #65208a;
}

::selection { /* WebKit/Blink Browsers */
    color: white;
    background: #65208a;
}
				
			

Example:

Select some text here.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ac dignissim purus. Integer aliquet urna lacus, vitae luctus justo dapibus et. Nulla finibus sapien felis, in suscipit diam lobortis et.

About Author
W3Mind

W3Mind

W3Mind focuses on Blogging, Make Money Online, SEO, Business Blogging, Social Media, WordPress, Internet Tools, Web Design and Development.
Give it a Share
Facebook
Twitter
LinkedIn
You May Also Like
Leave a Reply

Your email address will not be published. Required fields are marked *

How to
START A
BLOG
(step by step)
Load WordPress Sites in as fast as 37ms!