-
Tailwind v4.0.14 I would like to use named groups to access parent attributes. With normal groups, everything works fine, but not with named ones. Am I missing something? <div data-test="true" className="group/named">
<div className="group/named-data-[test=true]:class"></div>
</div> |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
May 22, 2025
Replies: 1 comment
-
You put the name at the end: <div data-test="true" className="group/named">
<div class="group-data-[test=true]/named:class"></div>
</div> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rettimo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You put the name at the end:
https://play.tailwindcss.com/gxSd1IXc0p