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