text-muted:使文本显示为灰色,用于次要信息。 示例代码: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 这是加粗文本。这是倾斜文本。这是左对齐文本。这是灰色文本,用于次要信息。 这些样式使文本内容更容易阅读,同时提供了一些额外的视觉效果。 链接和按钮样式 链接和按钮是网页中的重要元素,Bootstrap 提供...
Bootstrap heading Secondary text 页面主体 Bootstrap 将全局 font-size 设置为 14px,line-height 设置为 1.428。这些属性直接赋予 元素和所有段落元素。另外, (段落)元素还被设置了等于 1/2 行高(即 10px)的底部外边距(margin)。 Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis nato...
<!--灰色text-muted-->独出前门望野田,月明荞麦花如雪。——白居易《村夜》<!--text-reset颜色复位-->独出前门望野田,月明荞麦花如雪。——白居易《村夜》<!--text-monospac字体类-->独出前门望野田,月明荞麦花如雪。——白居易《村夜》<!--text-decoration-none修饰删除线,把a的作用线删除了--> 颜色 1 文...
3..text-muted:文字的颜色换成灰色 .text-primary:文字的颜色变成蓝色 .text-success:文字的颜色变成绿色 .text-info:文字的颜色变成暗蓝色 .text-warning:文字颜色变成暗黄色 .text-danger:文字的颜色变成红色4.HTML5新增的表单元素: datalist规定输入域的选项列表,通过option创建! keygen提供一种验证用户的可靠...
{ font-size: 34px; } .feature-heading .text-muted { font-size: 22px; } } @media (min-width: 992px) { .feature-heading { margin-top: 120px; } } <!-- 顶部导航 --> <!--如果分辨率较小,那么这里就会出现--> 切换导航 ...
class="text-muted" class="text-primary" class="text-success" class="text-info" class="text-warning" class="text-danger" (4) 标签 元素的样式为显示在文本底部的一条虚线边框,当鼠标悬停在上面时会显示title属性中的信息。 【举例:】<!DOCTYPE...
... ... ... ... ... ... Dealing with specificity Sometimes emphasis classes cannot be applied due to the specificity of another selector. In most cases, a sufficient workaround is to wrap your text in a with the class. Conveying meaning to assistive technologies Using color to add ...
... ... ... ... ... ... Dealing with specificity Sometimes emphasis classes cannot be applied due to the specificity of another selector. In most cases, a sufficient workaround is to wrap your text in a with the class. Conveying meaning to assistive technologies Using color to add ...
textMuted">静音 .s-textMuted 成功 .s-textSuccess 主要 .s-textPrimary 信息 .s-textInfo 警告 .s-textWarn 危险 .s-textDanger 提示 .s-tip 成功 .s-bgSuccess.f-p15 主要 .s-bgPrimary.f-p15 信息 .
The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. It also can help improve legibility for ruby.