<h1>
through <h6>
, are available. .h1
through .h6
classes are also available, for when you want to match the font styling of a heading but still want your text to be displayed
inline.
<h1>Heading h1</h1> <h2>Heading h2</h2> <h3>Heading h3</h3> <h4>Heading h4</h4> <h5>Heading h5</h5> <h6>Heading h6</h6>
.light
classname to set font-weight: 300
on element.
<h1 class="light">Heading h1</h1> <h2 class="light">Heading h2</h2> <h3 class="light">Heading h3</h3> <h4 class="light">Heading h4</h4> <h5 class="light">Heading h5</h5> <h6 class="light">Heading h6</h6>
.thin
classname to set font-weight: 200
on element.
<h1 class="thin">Heading h1</h1> <h2 class="thin">Heading h2</h2> <h3 class="thin">Heading h3</h3> <h4 class="thin">Heading h4</h4> <h5 class="thin">Heading h5</h5> <h6 class="thin">Heading h6</h6>
<small>
tag or the .small
class.
<h1>Heading h1 <small>Secondary text</small></h1> <h2>Heading h2 <small>Secondary text</small></h2> <h3>Heading h3 <small>Secondary text</small></h3> <h4>Heading h4 <small>Secondary text</small></h4> <h5>Heading h5 <small>Secondary text</small></h5> <h6>Heading h6 <small>Secondary text</small></h6>
Left aligned text.
Center aligned text.
Right aligned text.
Justified text.
<p class="left-align">Left aligned text.</p> <p class="center-align">Center aligned text.</p> <p class="right-align">Right aligned text.</p> <p class="justify-align">Justified text.</p>
This is an example quotation that uses the blockquote tag.
Here is another line with small text.
This is an example quotation that uses the blockquote tag.
Here is another line with small text.
This is an example quotation that uses the blockquote tag.
Here is another line with small text.
<blockquote> <p> This is an example quotation that uses the blockquote tag. <br> <small>Here is another line with small text.</small> </p> </blockquote> <blockquote class="red-text"> <p> This is an example quotation that uses the blockquote tag. <br> <small>Here is another line with small text.</small> </p> </blockquote> <blockquote class="orange-text"> <p> This is an example quotation that uses the blockquote tag. <br> <small>Here is another line with small text.</small> </p> </blockquote>
One common flaw we've seen in many frameworks is a lack of support for truly responsive text. While elements on the page resize fluidly, text still resizes on a fixed basis. To ameliorate this problem, for text heavy pages, we've created a class that fluidly scales text size and line-height to optimize readability for the user. Line length stays between 45-80 characters and line height scales to be larger on smaller screens.
To see Flow Text in action, slowly resize your browser and watch the size of this text body change! Use the button above to toggle off/on flow-text to see the difference!
<p class="flow-text">I am Flow Text</p>
To use flow-text on a body of text, simply just add the class flow-text
to a tag, see the code blow.