Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
can't highlight text from pseudo element - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
2 replies
snxxwyy
can't highlight text from pseudo element
Hey
, i have a heading class that displays a caption underneath it with the text being what
's provided in a data attribute
. It doesn
't let me highlight this text with my cursor though
, does anyone know why
? Many thanks
https://codepen.io/deerCabin/pen/mdYyLdr
CodePen
R
highlight-issue
.
.
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Setting text of pseudo element from JavaScript
KP-C
Kevin Powell - Community / front-end
3y ago
Pseudo Element clipping over text
KP-C
Kevin Powell - Community / front-end
3y ago
Pseudo-element ...
KP-C
Kevin Powell - Community / front-end
3y ago
Pseudo -element
KP-C
Kevin Powell - Community / front-end
4y ago