Typography

Materialize is a modern responsive CSS framework based on Material Design by Google.

Headers

We provide some basic styling on header tags. In the example, you can see the the 6 header tags' different sizes.

Heading h1

Heading h2

Heading h3

Heading h4

Heading h5
Heading h6

Blockquotes

Blockquotes are mainly used to give emphasis to a quote or citation. You can also use these for some extra text hierarchy and emphasis.

This is an example quotation that uses the blockquote tag. Here is another line to make it look bigger.
                  

<blockquote>
  This is an example quotation that uses the blockquote tag.
</blockquote>

                  
                

Flow Text

Toggle flow-text

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!

To use flow-text on a body of text, simply just add the class flow-text to a tag, see the code below.

<p class="flow-text">I am Flow Text</p>

Changing the font stack

The Material Design standard uses Roboto font. We have included the font in our framework. In case you don't want to use Roboto on your webpage, fear not. You can change the font stack by modifying the code below to your liking and add it to your custom CSS.

html,
button, input, optgroup, select, textarea {
  font-family: GillSans, Calibri, Trebuchet, sans-serif;
}