Typographic scale

The entire typographic grid is based on two Less variables in our variables.less file: @baseFontSize and @baseLineHeight. The first is the base font-size used throughout and the second is the base line-height.

We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.

Example body text

Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui.

h1. Heading 1

h2. Heading 2

h3. Heading 3

h4. Heading 4

h5. Heading 5
h6. Heading 6

Emphasis, address, and abbreviation

Element Usage Optional
<strong> For emphasizing a snippet of text with important None
<em> For emphasizing a snippet of text with stress None
<abbr> Wraps abbreviations and acronyms to show the expanded version on hover

Include optional title attribute for expanded text

Use .initialism class for uppercase abbreviations.
<address> For contact information for its nearest ancestor or the entire body of work Preserve formatting by ending all lines with <br>

Using emphasis

Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.

Note: Feel free to use <b> and <i> in HTML5, but their usage has changed a bit. <b> is meant to highlight words or phrases without conveying additional importance while <i> is mostly for voice, technical terms, etc.

Example addresses

Here are two examples of how the <address> tag can be used:

Twitter, Inc.
795 Folsom Ave, Suite 600
San Francisco, CA 94107
P: (123) 456-7890
Full Name
first.last@gmail.com

Example abbreviations

Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.

Add the initialism class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.

HTML is the best thing since sliced bread.

An abbreviation of the word attribute is attr.

Blockquotes

Element Usage Optional
<blockquote> Block-level element for quoting content from another source

Add cite attribute for source URL

Use .pull-left and .pull-right classes for floated options
<small> Optional element for adding a user-facing citation, typically an author with title of work Place the <cite> around the title or name of source

To include a blockquote, wrap <blockquote> around any HTML as the quote. For straight quotes we recommend a <p>.

Include an optional <small> element to cite your source and you'll get an em dash &mdash; before it for styling purposes.

<blockquote>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
  <small>Someone famous</small>
</blockquote>

Example blockquotes

Default blockquotes are styled as such:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.

Someone famous in Body of work

To float your blockquote to the right, add class="pull-right":

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.

Someone famous in Body of work

Lists

Unordered

<ul>

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

Unstyled

<ul class="unstyled">

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

Ordered

<ol>

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  4. Facilisis in pretium nisl aliquet
  5. Nulla volutpat aliquam velit
  6. Faucibus porta lacus fringilla vel
  7. Aenean sit amet erat nunc
  8. Eget porttitor lorem

Description

<dl>

Description lists
A description list is perfect for defining terms.
Euismod
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
Donec id elit non mi porta gravida at eget metus.
Malesuada porta
Etiam porta sem malesuada magna mollis euismod.

Horizontal description

<dl class="dl-horizontal">

Description lists
A description list is perfect for defining terms.
Euismod
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
Donec id elit non mi porta gravida at eget metus.
Malesuada porta
Etiam porta sem malesuada magna mollis euismod.
友情链接:兰州财经大学  |深圳市龙岗宝龙比亚迪股份有限公司  |上海蓝魔自动化设备有限公司  |上海远博资源再生有限公司  |我的钢铁建筑钢材网  |无忧房  |建平新闻网  |都市前沿设计有限公司  |中国重汽济南销售市场  |上海市数字证书认证中心  |深圳市速影科技有限公司  |济宁卫士宝化工有限公司  |朋友网  |成都紫  |曲阜鸿祺机械有限公司  |深圳盖瑞特科技有限公司  |核弹头游戏网  |北京中创汇丰科技发展有限公司.  |上海市数字证书认证中心  |青海  |赢了  |云南丰瑞油脂公司  |青海  |滕州川凌数控机械厂  |北京创联汇通有限公司  |山东中新犬舍  |土豆AP  |金鸿药业  |北京鑫鑫印刷厂  |綦江在  |欧好  |邢台康巨机械制造有限公司  |冷笑话  |天津市政府采购网  |广州鼎建水泥制品有限公司  |滕州川凌数控机械厂  |上海腾湘实业有限公司  |山东和圣文化信息科技有限公司  |连城  |合力泰科技股份有限公司  |西安文明网  |丹东交  |成都紫  |土豆AP  |深圳市福田区陈安之资讯管理服务部  |欧好  |邢台康巨机械制造有限公司  |深圳市龙岗宝龙比亚迪股份有限公司  |无忧房  |滕州川凌数控机械厂  |都市前沿设计有限公司  |核弹头游戏网  |滕州川凌数控机械厂  |合力泰科技股份有限公司  |上海腾湘实业有限公司  |理想固  |连城  |都市前沿设计有限公司  |都市前沿设计有限公司  |土豆AP  |成都金童钢构净化板业有限公司  |北京利康搬家有限责任公司  |北京利康搬家有限责任公司  |合力泰科技股份有限公司  |都市前沿设计有限公司  |蓝泰源  |西安文明网  |青海  |蓝泰源  |綦江在  |深圳盖瑞特科技有限公司  |朋友网  |理想固  |滕州川凌数控机械厂  |山东中新犬舍  |兰州财经大学  |上海市数字证书认证中心  |北京中创汇丰科技发展有限公司.  |綦江在  |楚雄彝族自治州人民政府门户网站  |   网站地图