Learn how to change the default selection styling using the CSS::selection pseudo-element, which allows us to target and change styling for the user-selected portion of the document.
By default, most browsers highlight the selected text in blue.
However, we can override this setting using the " ::selection " pseudo-element to match the overall theme of our website.
We can also select the text colour while selecting, using the colour property while changing the default text selection property.
Source Code: github.com/Pinky057/Css-Tips-and-tricks/tree/Css-T…
Codepen Link: codepen.io/Ishrat_Pinky/pen/yLjwjxg
______________________________________________
Music: Sweet
Music produced by Chillpeach : • Video
______________________________________________
👉 Connect with me on the social platforms:
________________________________________________
Link In Bio: withkoji.com/@ishratpinky
Subscribe on Youtube: youtube.com/@ishrat_jahan
Follow me on Instagram: www.instagram.com/ishrat.designs
________________________________________________
Subscribe for Upcoming Videos. Have a great day, Everyone.
Stay Blessed.
#shorts #csstricks #shortvideo #short #htmlcss #css3 #cssselector #cssselectors
コメント