Skip to content

Commit 280ca29

Browse files
committed
更新README
1 parent c5f80ad commit 280ca29

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Atomic CSS文本工具库 - 600+单一用途类,让您在几秒内完成文本
8585
## 🛠 自行构建
8686

8787
### 方法一:使用Sass编译
88-
```bash
88+
```
8989
# 安装dart-sass(只需一次)
9090
npm install -g sass
9191
@@ -135,28 +135,28 @@ $font-weights: (
135135
## 🚀 高级用法示例
136136

137137
### 多行文本省略
138-
```html
138+
```
139139
<p class="text-overflow-ellipsis-2" style="width: 300px;">
140140
这是两行文本省略示例,当文本超过两行时显示省略号...
141141
</p>
142142
```
143143

144144
### 交互效果
145-
```html
145+
```
146146
<p class="text-color-blue text-hover-bold text-cursor-pointer">
147147
悬停时变粗体(尝试悬停)
148148
</p>
149149
```
150150

151151
### 特殊排版
152-
```html
152+
```
153153
<p class="text-writing-mode-vertical text-color-purple">
154154
垂直排版的文本
155155
</p>
156156
```
157157

158158
### 动画文本
159-
```html
159+
```
160160
<p class="text-animate-fade text-color-orange">
161161
淡入动画文本
162162
</p>

0 commit comments

Comments
 (0)