Easily change the selection color with CSS

preview_player
Показать описание

It's super easy to do, and it can lead to a very nice touch. These little things won't make or break a site by any means, but they do make a difference in the user experience, and with how easy it is, there's no reason not to :)

---

Keep up to date with everything I'm up to

---

Help support my channel

---



---

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.


---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Рекомендации по теме
Комментарии
Автор

And there was I thinking you was going to talk about SASS. How pleasingly surprised I was to discover something new. I have seen this on many website yet never gave it a second thought when highlighting text. Your teaching is true to your word "Making the Internet a little bit more awesome, " so the small things in life really do matter!

Morrile
Автор

Mom, Kevin Powell besets me! I am replaying his Scrimba course and the same time I am getting his YT notification. I am even doing the same layout. If it wasn't for the best css course ever and the best css channel ever I would be really scared.

mateuszb
Автор

Nice! I didn't know ::selection existed. Don't think I've ever needed it, but still, nice to know! Thanks.

MrsJaydot
Автор

Kevin, just wanted to let you know love your work. You are a Jedi master in this area. Thanks.

nicio
Автор

Definitely a unique effect! Thanks for the tutorial.

jrkdigital
Автор

The scrimba course is awesome 😊
I recommend it.
It is simple. I learn a lot of stuffs
Good job kp 😊
(I am french but it is very easy to understand)

Sisier
Автор

Aah, I never knew that You can do that! That's fab, thanks :)

rc
Автор

Now I know something that I have never known I would know someday! It's so surprising that we even have such options! Alien life confirmed!

RameenFallschirmjager
Автор

Am I the only one that read the thumbnail as "Changing is so the selection simple! color"? :p

facundocorradini
Автор

Your tuts are great..i would to ask you if could make tutorial on how do angled / slanted borders on div's ..thank you 👍

romimaximus
Автор

changing is so
the selection simple
color...

Change my mind...

xphstos_
Автор

can I change selection color on one element !?

ali-gwzb
Автор

Hey, Mr. Powell, can you please make a video regarding HTML semantics? I'm terribly confused about that, and I know that they play a part in site SEO. I've tried numerous tutorials, but I'm still in the dark about how and when exactly to use them.

Dsandles
Автор

Type: background-color: rgb(0, 0, 0, 0);
If you want it to be invisible

bilalbazarah
Автор

you always do this why you are not including #HTML

farhadcohan