CSS Tips and Tricks (Part 3) | Using the "::selection" CSS pseudo-element we can apply styles to the part of a document that has been highlighted by the user (such as clicking and dragging the mouse across text). This is very helpful if we want to match the colour of highlighted text with our brand colour.
🎬 CodePen Demo:
https://codepen.io/codewithpalash/pen...
💻 CodePen Demos Collection:
https://codepen.io/collection/yrybOY
📝 Helpful Links:
CSS ::selection - https://developer.mozilla.org/en-US/d...
CSS pseudo-element - https://developer.mozilla.org/en-US/d...
Not css tricks, But css or css3, web development, or maybe css tricks, Not css extension visual studio code. Like we can learn css, But css quick tips and tricks, some of the cool tips and tricks of css, or some simple css tips and tricks for beginners. HAPPY CODING!!!!
#shorts #youtubeshorts #css