ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] ## 对齐 ``` text-left text-center text-right text-justify text-justify text-nowrap ``` ## 大小 ``` text-lowercase //全小写 text-uppercase // 全大写 text-capitalize //首字母大写 ``` ## 颜色 ``` text-danger text-primary text-success text-warning text-info ``` ## 警告框 ![](https://img.kancloud.cn/17/05/17057ad0c53022cb23005776f97d8ace_759x351.png) ``` <div class="alert alert-success" role="alert">...</div> <div class="alert alert-info" role="alert">...</div> <div class="alert alert-warning" role="alert">...</div> <div class="alert alert-danger" role="alert">...</div> ``` 带×的 ``` <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <strong>Warning!</strong> Better check yourself, you're not looking too good. </div> ``` ## 背景色 ![](https://img.kancloud.cn/aa/60/aa60dafa74482fd3e9bcfb791020c016_620x331.png) ``` <p class="bg-primary">...</p> <p class="bg-success">...</p> <p class="bg-info">...</p> <p class="bg-warning">...</p> <p class="bg-danger">...</p> ```