Skip to content

Commit

Permalink
chore: backup
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Aug 14, 2024
1 parent 41fb22f commit 333edc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/start/tailwind/index-en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ After enabling the plugin, all Semi styles will be wrapped by `@layer {xxxx}`. I

In addition, we configured the priority order of various Layers:
```css
@layer tailwind-base,semi,components,utils;
@layer tailwind-base,semi,tailwind-components,tailwind-utils;
```
The meaning of the above CSS is that base (including Preflight) has the lowest priority, followed by Semi. The atomic class styles set by the user (padding-[xxx], etc.) have the highest priority, which can solve the above problems.

Expand Down
2 changes: 1 addition & 1 deletion content/start/tailwind/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ CSS Layer 要求浏览器版本高于 Chromium 99 <a target="_blank" href="https

另外,我们配置了各种 Layer 的优先级顺序:
```css
@layer tailwind-base,semi,components,utils;
@layer tailwind-base,semi,tailwind-components,tailwind-utils;
```
上述 CSS 的含义为, base (含 Preflight)优先级最低,Semi 次之,用户设置的原子类样式(padding-[xxx] 等)优先级最高,这样即可解决上面遇到的问题。

Expand Down

0 comments on commit 333edc9

Please sign in to comment.