"Typography Examples"
Bootstrap 3.3.0 Snippet by richobrien

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//fonts.googleapis.com/css?family=Hind" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <div class="container"> <div class="row"> <h2>Typography Examples</h2> </div> </div> <div class="container"> <h2>Heading Text</h2> <p>Examples using standard <code>h1</code> to <code>h6</code> html tags</p> <h1>h1. Heading</h1> <h2>h2. Heading</h2> <h3>h3. Heading</h3> <h4>h4. Heading</h4> <h5>h5. Heading</h5> <h6>h6. Heading</h6> <br> <br> <p>Examples using <code>heading-inverse</code> css</p> <h1 class="heading-inverse">h1. Heading</h1> <h2 class="heading-inverse">h2. Heading</h2> <h3 class="heading-inverse">h3. Heading</h3> <h4 class="heading-inverse">h4. Heading</h4> <h5 class="heading-inverse">h5. Heading</h5> <h6 class="heading-inverse">h6. Heading</h6> <br> <br> <p>Examples using <code>inverse-primary</code> to <code>inverse-danger</code> css</p> <h1 class="inverse-primary">h1. Heading</h1> <h1 class="inverse-success">h1. Heading</h1> <h1 class="inverse-info">h1. Heading</h1> <h1 class="inverse-warning">h1. Heading</h1> <h1 class="inverse-danger">h1. Heading</h1> <br> <br> </div> <div class="container"> <h2>Paragraph Text</h2> <p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.</p> <p>Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn’t listen. She packed her seven versalia, put her initial into the belt and made herself on the way. When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then</p> <p class="lead">Most designers set their type arbitrarily, either by pulling values out of the sky or by adhering to a baseline grid. The former case isn’t worth discussing here, but the latter requires a closer look.</p> <p>You can use the mark tag to <mark>highlight</mark> text.</p> </div>
body { font-family:hind; } h1,h2,h3,h4,h5,h6{ font-family:montserrat; } .heading-inverse{ background-color:#333; color:#ffffff; padding:5px; } .inverse-primary{ background-color:#3498db; color:#ffffff; padding:5px; } .inverse-success{ background-color:#2ecc71; color:#ffffff; padding:5px; } .inverse-info{ background-color:#9b59b6; color:#ffffff; padding:5px; } .inverse-warning{ background-color:#e67e22; color:#ffffff; padding:5px; } .inverse-danger{ background-color:#e74c3c; color:#ffffff; padding:5px; } .h6-inverse{ background-color:#333; color:#ffffff; padding:5px; } p{ font-size:17px; line-height:1.618; } .lead{ line-height:1.618; } mark, .mark { padding: .2em; background-color: rgba(241, 196, 15, 0.4); }

Related: See More

Questions / Comments: