Skip to content

Commit

Permalink
docs(cn): features/variant-groups translation (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
d2FuZ3h1ZG9uZw authored Jun 10, 2021
1 parent 2072406 commit 5ecbab9
Showing 1 changed file with 3 additions and 3 deletions.
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
# 可变修饰组 {#variant-groups}

Apply utilities for the same variant by grouping them with parenthesis.
通过使用括号对相同的工具类进行编组,将其应用于同一可变修饰。

```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

0 comments on commit 5ecbab9

Please sign in to comment.