How to Set Custom Text Selection background using pure css | Change Text Selection Color

by | May 10, 2021 | 0 comments

How to Set Custom Text Selection background using pure css | Change Text Selection Color

by | May 10, 2021 | CSS Tips and Tricks | 0 comments



#HowTo #css #blogger
How to Set Custom Text Selection color using pure css | Change Text Selection Color
When you select text on a webpage the background color is mostly dictated by the operating system of your machine. On Windows, the most common selection background color is blue (although it depends on which Windows theme you’re using). This also means that various users having varied Windows themes will have a different user experience on your website because the background color will be different according to their Windows theme.

Code –
/* for Firefox */
::-moz-selection {
background-color: deeppink;
color: #fff;
}

/* for Safari and Chrome */
::selection {
background-color: deeppink;
color: #fff;
}
———————————————————–
📌 Subscribe Us
– https://youtube.com/c/AnuTrickz

◼️ CONTACT WITH ME —————-
Facebook- https://facebook.com/anutrickz
Instagram- https://instagram.com/anutrickz
Blog – https://anutrickz.blogspot.com
Twitter id – https://twitter.com/anutrickz
Telegram – https://t.me/anutrickz
Pinterest – https://in.pinterest.com/webmananupam
Messenger – m.me/Anutrickz
——————————————–

Subscribe to our channel Featuring everything related to Tech & the latest futuristic inventions, amazing gadgets and other awesome technological advancements that you’ve probably never seen before!

◼️ Tag ———–
blogger tips and tricks, blogger tips and tricks in tamil, blogger tips tamil, blogger tips 2020, blogger tips for beginners, blogger tips and tricks in hindi, blogger tips and tricks for beginners, blogger tips and tricks blogspot, blogger tips and tricks techno vedant, blogger seo tips and tricks, beginner blogger tips, instagram beauty blogger tips, beauty blogger tips, best blogger tips, blogger.com tips, tips dan trik blogger, blogger design tips, fashion blogger tips for instagram, fashion blogger tips, food blogger tips, instagram food blogger tips, tips for blogger, tips menjadi food blogger, google blogger tips and tricks, google blogger tips, blogger seo tips in hindi, hindi blogger tips, blogger tips in tamil, tips jadi blogger, tips jadi blogger sukses, lifestyle blogger tips, tips menjadi blogger pemula, tips menjadi travel blogger, tips menjadi blogger sukses, tips menjadi blogger yang sukses, new blogger tips, new blogger tips 2020, tips sa new blogger, blogger photography tips, pro blogger tips, tips blogger untuk pemula, blogger post tips, tips para ser blogger, tips para blogger, tips para usar blogger, rupa blogger tips, blogger advanced seo tips, blogger secrets and tips, tips blogger sukses, blogger tips tricks, tamil blogger tips and tricks, travel blogger tips, blogger writing tips, youtube blogger tips

©️AnuTrickz

source

0 Comments

Submit a Comment

What Our Clients Are Saying

North Burnaby Boxing Club

Thanks so much for all the great work you have done in developing our website Leland!

Manny, North Burnaby Boxing Club

Dieno Digital Marketing Services
5
2018-04-27T01:06:02+00:00

Manny, North Burnaby Boxing Club

Thanks so much for all the great work you have done in developing our website Leland!

JB Consulting

Leland built us a great site at a great price. We can’t say enough about how pleasant it was dealing...

Dave, JB Consulting

Dieno Digital Marketing Services
5
2018-04-27T01:06:57+00:00

Dave, JB Consulting

Leland built us a great site at a great price. We can’t say enough about how pleasant it was dealing with him!

Kelicor Logistics

Leland created my website for my new venture. I found his service to be excellent,was always available to answer my...

Colin, Kelicor Logistics Solutions

Dieno Digital Marketing Services
5
2018-04-27T01:07:34+00:00

Colin, Kelicor Logistics Solutions

Leland created my website for my new venture. I found his service to be excellent,was always available to answer my questions and was always prepared to go the extra mile, in order to ensure my website conveyed it's intended message,, And the cherry on top was it was most affordable. Would definitely recommend. Thanks Leland !

McNeney McNeney Spieker LLP

Dieno Digital has been providing our firm with what we like to call the Royal Package in customer service for...

M, McNeney McNeney Spieker LLP

Dieno Digital Marketing Services
5
2018-04-27T01:08:19+00:00

M, McNeney McNeney Spieker LLP

Dieno Digital has been providing our firm with what we like to call the Royal Package in customer service for over 3 years now. The knowledge and skills Leland brings to the table has increased our business and streamlined our social media platform. Our requests are always dealt with in a timely manner and we are always given options and alternatives to better reach potential new clients. We highly recommend Dieno Digital to increase your life social media presence.
5
4
Dieno Digital Marketing Services
[newsletter_form]
<div class="tnp tnp-subscription"> <form method="post" action="https://www.dienodigital.com/?na=s"> <input type="hidden" name="nlang" value=""><div class="tnp-field tnp-field-firstname"><label for="tnp-name">First name or full name</label> <input class="tnp-name" type="text" name="nn" value=""></div> <div class="tnp-field tnp-field-email"><label for="tnp-email">Email</label> <input class="tnp-email" type="email" name="ne" value="" required></div> <div class="tnp-field tnp-field-button"><input class="tnp-submit" type="submit" value="Subscribe" > </div> </form> </div>