Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit 0ee8fec

Browse files
committed
0212
1 parent 9d6a51d commit 0ee8fec

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

YamKH514_FullStack_Compass.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,13 @@
1919
由于今天时间有限,故只是看了一下 React 的官方文档。计划下一步开始 Next.js 的学习。
2020
先摸了 ο(=•ω<=)ρ⌒☆
2121

22+
### 02.12
23+
24+
在Next.js的教程中提及了Tailwind CSS框架,使用Tailwind可以通过添加类名来设置元素的样式。每个类都单独应用于每个元素,这意味着增删元素时无需担心维护样式表或是解决样式冲突。
25+
```html
26+
<h1 className="text-blue-500">I'm blue!</h1>
27+
```
28+
29+
教程中还提及了名为`clsx`的组件,用于在React中动态地构建组件地 className
30+
2231
<!-- Content_END -->

0 commit comments

Comments
 (0)