Hello,
Today I choose a very simple topic to how to change a user selection color. The ::selection is a CSS pseudo-element that applies styles to the part of a document or text highlighted by the user.
::selection {
color: #fff;
background:#ff8882;
}
As an above example, you can change different colors and it's very useful I hope you like this also comments about your thoughts. For more content follow me on Instagram @developer_nikhil27.
If you want to more support me then buy me a coffee.
Thank you!
Top comments (2)
Cool! I didn't know that.
Thanks also checkout my new post