bs typography

13
TWITTER BOOTSTRAP Bootstrap Typography Call US: +91-9915337448 Email Us: [email protected]

Upload: webtech-learning

Post on 23-Jan-2017

431 views

Category:

Design


0 download

TRANSCRIPT

Page 1: Bs Typography

TWITTER BOOTSTRAP

Bootstrap Typography

Call US: +91-9915337448 Email Us: [email protected]

Page 2: Bs Typography

Bootstrap's Default Settings

• Bootstrap's global default font-size is 14px, with a line-height

of 1.428.

• This is applied to the <body> and all paragraphs.

• In addition, all <p> elements have a bottom margin that

equals half their computed line-height (10px by default)

Call US: +91-9915337448 Email Us: [email protected]

Page 3: Bs Typography

<small> Tag or Element

• In Bootstrap the HTML <small> element is used to create a

lighter, secondary text in any heading:

Call US: +91-9915337448 Email Us: [email protected]

(h1>Heading <small>Text</small></h1>)

h1 heading secondary text

h2 heading secondary text

h3 heading secondary text

h4 heading secondary text

h5 heading secondary text

h6 heading secondary text

Page 4: Bs Typography

<mark> Tag or Element

• Bootstrap will style the HTML <mark> element in the following way:

Call US: +91-9915337448 Email Us: [email protected]

<div class="container"> <h1>Highlight Text</h1> <p>Use the mark element to <mark>highlight</mark> text.</p></div>

Use the mark element to highlight text.

Page 5: Bs Typography

<abbr> Tag or Element

• Bootstrap will style the HTML <abbr> element in the following way:

Call US: +91-9915337448 Email Us: [email protected]

<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>

Page 6: Bs Typography

<blockquote> Tag or Element

• Bootstrap will style the HTML <blockquote> element in the following way:

Call US: +91-9915337448 Email Us: [email protected]

<blockquote> <p>For 50 years, WWF has been protecting the future of nature</p> <footer>From WWF's website</footer> </blockquote>

Page 7: Bs Typography

<dl> Tag or Element

• Bootstrap will style the HTML <dl> element in the following way:

Call US: +91-9915337448 Email Us: [email protected]

<dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl>

Coffee- black hot drinkMilk- white cold drink

Page 8: Bs Typography

<code> Tag or Element

• Bootstrap will style the HTML <code> element in the following way:

Call US: +91-9915337448 Email Us: [email protected]

<p>The following HTML elements: <code>span</code>, <code>section</code>, and <code>div</code> defines a section in a document.</p>

Page 9: Bs Typography

<kbd> Tag or Element

• Bootstrap will style the HTML <kbd> element in the following way:

Call US: +91-9915337448 Email Us: [email protected]

<p>Use <kbd>ctrl + p</kbd> to open the Print dialog box.</p>

Page 10: Bs Typography

<pre> Tag or Element

• Bootstrap will style the HTML <pre> element in the following way:

Call US: +91-9915337448 Email Us: [email protected]

<pre>Text in a pre elementis displayed in a fixed-widthfont, and it preservesboth spaces andline breaks.</pre>

Text in a pre elementis displayed in a fixed-widthfont, and it preservesboth spaces andline breaks.

Page 11: Bs Typography

Contextual Colors and Backgrounds

• Bootstrap also has some contextual classes that can be used to provide

"meaning through colors".

• The classes for text colors are: .text-muted, .text-primary, .text-

success, .text-info, .text-warning, and .text-danger:

Call US: +91-9915337448 Email Us: [email protected]

Page 12: Bs Typography

Contextual Colors and Backgrounds

• The classes for background colors are:.bg-primary, .bg-success, bg-info, bg-

warning, and .bg-danger:

Call US: +91-9915337448 Email Us: [email protected]

This text is important.

This text is important.

This text is important.

This text is important.

Page 13: Bs Typography