Skip to content

Group variant stacking - #4551

Merged
RobinMalfait merged 2 commits into
masterfrom
group-variant-stacking
Jun 3, 2021
Merged

RobinMalfait merged 2 commits into
masterfrom
group-variant-stacking

Conversation

@RobinMalfait

@RobinMalfait RobinMalfait commented Jun 3, 2021 •

Copy link
Copy Markdown
Contributor

This PR will make it possible to stack group variants together. It will make sure that all the states like focus and hover are applied to the .group correctly.

HTML:

<div class="group">
  <div class="group-focus:group-hover:font-bold"></div>
</div>

Will generate:

.group:focus:hover .group-focus\:group-hover\:font-bold {
  font-weight: 700;
}

This is a jit only feature.

@RobinMalfait
RobinMalfait merged commit d6b11b3 into master Jun 3, 2021
@RobinMalfait
RobinMalfait deleted the group-variant-stacking branch June 3, 2021 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant