Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(cn): features/variant-groups translation #47

Merged
merged 3 commits into from
Jun 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions features/variant-groups.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Variant Groups
# 可变修饰组
d2FuZ3h1ZG9uZw marked this conversation as resolved.
Show resolved Hide resolved

Apply utilities for the same variant by grouping them with parenthesis.
通过使用括号对相同的工具类进行分组,将其应用于同一可变修饰。
QC-L marked this conversation as resolved.
Show resolved Hide resolved

```html
<div class="hover:(bg-gray-400 font-medium) bg-white font-light"/>
```

Play with it:
尝试修改一下:

<InlinePlayground
:input="'bg-blue-200 font-light p-2\nhover:(bg-gray-400 font-medium)'"
Expand Down