Skip to content

Commit

Permalink
优化组件:颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
KingBes committed Dec 17, 2024
1 parent 3661df5 commit 913b5ed
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions doc/color.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,52 @@
<span>黑色</span>
</div>
</div>
```

#### 边框色

<div class="row">
<div class="col col-3 border">
<span>默认</span>
</div>
<div class="col col-3 border-secondary">
<span>蓝色</span>
</div>
<div class="col col-3 border-success">
<span>绿色</span>
</div>
<div class="col col-3 border-warning">
<span>黄色</span>
</div>
<div class="col col-3 border-danger">
<span>红色</span>
</div>
<div class="col col-3 border-muted">
<span>灰色</span>
</div>
</div>

代码:

```html
<div class="row">
<div class="col col-3 border">
<span>默认</span>
</div>
<div class="col col-3 border-secondary">
<span>蓝色</span>
</div>
<div class="col col-3 border-success">
<span>绿色</span>
</div>
<div class="col col-3 border-warning">
<span>黄色</span>
</div>
<div class="col col-3 border-danger">
<span>红色</span>
</div>
<div class="col col-3 border-muted">
<span>灰色</span>
</div>
</div>
```

0 comments on commit 913b5ed

Please sign in to comment.