Search
Star
1.4k
Feedback
Setup for Free
KP-C
Kevin Powell - Community
•
3y ago
•
6 replies
snxxwyy
styling a parent based on a child
Hey
, is it possible to style a parent based on whether it
's first child is let
's say a paragraph tag for example
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,301
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Hover on parent, effect parent and child
KP-C
Kevin Powell - Community / front-end
2y ago
Possible to change opacity on child elements based on parent sibling selector?
KP-C
Kevin Powell - Community / front-end
2y ago
Parent container with overflow not changing height based on child elements
KP-C
Kevin Powell - Community / front-end
2y ago
Animate parent (letter-spacing) on child (a) focus
KP-C
Kevin Powell - Community / front-end
4y ago