bootstrap的text-muted和text-danger
来源:互联网 发布:java面向 编辑:程序博客网 时间:2024/04/28 04:15
1、和修改的版本对比
2.3版本 3.0版本
.muted
.text-muted
.text-error
.text-danger
这些class通过颜色来表示强调。也可以应用于链接,当鼠标盘旋于链接上时,其颜色会变深,就像默认的链接样式。2、实验代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="dist/css/bootstrap.css"> <script type="text/javascript" src="dist/js/jquery.js"></script> <script type="text/javascript" src="dist/js/bootstrap.js"></script><title>无标题文档</title></head><body style="margin:200px"><div class="container"> <p class="text-muted">这个是text-muted属性的强调色!</p> <p class="text-primary">这个是text-primary属性的强调色!</p> <p class="text-success">这个是text-success属性的强调色!</p> <p class="text-info"> 这个是text-info属性的强调色!</p> <p class="text-warning">这个是text-warning属性的强调色!</p> <p class="text-danger">这个是text-danger属性的强调色!</p> </div></body></html>
3、效果图:
- bootstrap的text-muted和text-danger
- bootstrap的text-muted和text-danger
- MVC Razor语法的一点研究(关于 @Html.ValidationSummary("",new { @class = "text-danger" }))
- Sublime Text的Bootstrap 3插件安装
- text/html和text/plain的区别
- text/html和text/plain的区别
- bootstrap-editable-text
- TEXT和Select的结合
- DropDownList的Value和Text
- iWatch 的text和label
- BLOB和TEXT的区别
- Text和String的区别
- text-center 居中显示 (Bootstrap)
- tools:text和android:text
- text
- text
- text
- text
- Python的函数传值与传引用简解
- 修改CentOS/RHEL Rsync监听地址
- Django 模板
- 快速目录和文件遍历
- 软件工程(三)工程流程
- bootstrap的text-muted和text-danger
- 使用SharpPCap在C#下进行网络抓包
- 原型设计模式
- 转载:Attatch和Detach的关系
- 程序员学习网站大全
- oracle怎样修改表名、列名、字段类型、添加表列、删除表列
- 计算机端口
- 剑指Offer:面试题01---赋值运算符函数
- 统计大量文本中重复字符串的最大个数