Bootstrap3学习笔记(二)之排版
在上篇文章给大家介绍了 对于标题,Bootstrap已经修改了h1--h6的样式,如果需要副标题,还可以在其中使用small标记 h1. Bootstrap heading Secondary text
h2. Bootstrap heading Secondary texth3. Bootstrap heading Secondary texth4. Bootstrap heading Secondary texth5. Bootstrap heading Secondary texth6. Bootstrap heading Secondary text如果页面中有一个需要与众不同的h1,则可以将其包含在样式为“page-header的div中。 Twitter Bootstrap An intuitive front-end framework
Bootstrap默认字体大小为14px,行高1.428,段落间距10px,如果某个段落需要醒目一点,可是有'lead'类 使用text-*类,可以很方便的设定文本的水平对齐方式
HTML中的文字格式标记在Bootstrap中都可以使用 This is bold text
This is big text
This is emphasized text This is italic text This is highlighted text This is small text This is h3ly emphasized textThis is subscript and superscript This text is inserted to the document
字母格式转换类可以很好的完成需要的转换:
颜色是传递内容重要性的有力方式,Bootstrap提供了便利的设定文字强调级别的类:
对引用内容也做了修饰: The world is a dangerous place to live; not because of the people who are evil,but because of the people who don't do anything about it.
by Albert Einstein
其中的类是为了右对齐引用。 以上所述是小编给大家介绍的Bootstrap3学习笔记(二)之排版的相关知识。编程之家 52php.cn 收集整理的教程希望能对你有所帮助,如果觉得编程之家不错,可分享给好友!感谢支持。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |