Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Anchoring a pseudo-element to another pseudo-element - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
9mo ago
•
5 replies
Venyl
Anchoring a pseudo-element to another pseudo-element
I have this demo
(warning
: uses native carousels
& anchoring
)
:
https://codepen.io/Venyl/pen/LEVvxaR
Right now the
::before
::before
doesn
't see the
anchor-name
anchor-name
of the
::scroll-marker-group
::scroll-marker-group
and therefore I can
't use anchoring
, how could I fix this
?
CodePen
Venyl
Untitled
.
.
.
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
CSS nesting and pseudo elements
KP-C
Kevin Powell - Community / help
9mo ago
Dialog element not rendering over another dialog element on mobile view
KP-C
Kevin Powell - Community / help
10mo ago
Why can't :has() have pseudo elements inside it
KP-C
Kevin Powell - Community / help
2mo ago
styling a select element
KP-C
Kevin Powell - Community / help
7mo ago