1 <h2>Scale & Basic Styles</h2>
3 <div class="demo-preview-block demo-page--typography">
6 <th class="mdl-typography--caption-color-contrast">Display 4</th>
7 <td class="mdl-typography--display-4">Light 112px</td>
10 <th class="mdl-typography--caption-color-contrast">Display 3</th>
11 <td class="mdl-typography--display-3">Regular 56px</td>
14 <th class="mdl-typography--caption-color-contrast">Display 2</th>
15 <td class="mdl-typography--display-2">Regular 45px</td>
18 <th class="mdl-typography--caption-color-contrast">Display 1</th>
19 <td class="mdl-typography--display-1">Regular 34px</td>
22 <th class="mdl-typography--caption-color-contrast">Headline</th>
23 <td class="mdl-typography--headline">Regular 24px</td>
26 <th class="mdl-typography--caption-color-contrast">Title</th>
27 <td class="mdl-typography--title">Medium 20px</td>
30 <th class="mdl-typography--caption-color-contrast">Subhead</th>
31 <td class="mdl-typography--subhead">Regular 16px (Device), Regular 15px (Desktop)</td>
34 <th class="mdl-typography--caption-color-contrast">Body 2</th>
35 <td class="mdl-typography--body-2">Medium 14px (Device), Medium 13px (Desktop)</td>
38 <th class="mdl-typography--caption-color-contrast">Body 1</th>
39 <td class="mdl-typography--body-1">Regular 14px (Device), Regular 13px (Desktop)</td>
42 <th class="mdl-typography--caption-color-contrast">Body 2 (force preferred font)</th>
43 <td class="mdl-typography--body-2-force-preferred-font">Medium 14px (Device), Medium 13px (Desktop)</td>
46 <th class="mdl-typography--caption-color-contrast">Body 1 (force preferred font)</th>
47 <td class="mdl-typography--body-1-force-preferred-font">Regular 14px (Device), Regular 13px (Desktop)</td>
50 <th class="mdl-typography--caption-color-contrast">Caption</th>
51 <td class="mdl-typography--caption">Regular 12px</td>
54 <th class="mdl-typography--caption-color-contrast">Menu</th>
55 <td class="mdl-typography--menu">Medium 14px (Device), Medium 13px (Desktop)</td>
58 <th class="mdl-typography--caption-color-contrast">Button</th>
59 <td class="mdl-typography--button">Medium (All Caps) 14px</td>
64 <h2>HTML Elements</h2>
66 <div class="demo-preview-block">
79 <p><u><u>Underlined<u></u></p>
81 <p><b><b>Bold<b></b></p>
83 <p><strong><strong>Strong<strong></strong></p>
85 <p><i><italic>Italic<italic></i></p>
87 <p><em><em>Em<em></em></p>
89 <p><s><s>Strikethrough<s></s></p>
91 <p><small><small>Small<small></small></p>
93 <p><mark><mark>Mark<mark></mark></p>
99 <p class="mdl-typography--body-2"><p class="mdl-typography-body-2"></p>
101 <p class="mdl-typography--caption"><p class="mdl-typography-caption"></p>
103 <p class="mdl-typography--menu"><p class="mdl-typography-menu"></p>
105 <p class="mdl-typography--button"><p class="mdl-typography-button"></p>
109 <h1><h1> <small>Subtitle</small></h1>
110 <h2><h2> <small>Subtitle</small></h2>
111 <h3><h3> <small>Subtitle</small></h3>
112 <h4><h4> <small>Subtitle</small></h4>
113 <h5><h5> <small>Subtitle</small></h5>
114 <h6><h6> <small>Subtitle</small></h6>
119 <dt>Description lists</dt>
120 <dd>A description list is perfect for defining terms.</dd>
122 <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
123 <dd>Donec id elit non mi porta gravida at eget metus.</dd>
124 <dt>Malesuada porta</dt>
125 <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
131 <div class="demo-preview-block">
132 <blockquote><blockquote></blockquote>
137 <p class="mdl-typography--text-left">Left aligned text.</p>
138 <p class="mdl-typography--text-center">Center aligned text.</p>
139 <p class="mdl-typography--text-right">Right aligned text.</p>
140 <p class="mdl-typography--text-justify">Justified text.</p>
141 <p class="mdl-typography--text-nowrap">No wrap text.</p>
143 <h2>Transformations</h2>
144 <p class="mdl-typography--text-lowercase">Lowercased text.</p>
145 <p class="mdl-typography--text-uppercase">Uppercased text.</p>
146 <p class="mdl-typography--text-capitalize">Capitalized text.</p>
151 <strong>Googleplex</strong><br>
152 1600 Amphitheatre Pkwy<br>
153 Mountain View, CA 94043<br>
154 <abbr title="Phone">P:</abbr> (650) 253-0000
159 <h3>Multi-line code blocks</h3>
161 Use <pre> for multi-line code blocks.
163 <p>This is the first line of code</p>
164 <p>This is the second line of code</p>
168 <h3>Inline code blocks</h3>
169 <p>Code blocks like <code><main></code> could be displayed inline.</p>
172 <h2>Color Contrasts</h2>
174 <div class="demo-preview-block">
175 <div class="demo-typography--white">
176 <p class="mdl-typography--caption-color-contrast">Caption</p>
178 <p class="mdl-typography--body-2-color-contrast">Body</p>
180 <p class="mdl-typography--subhead-color-contrast">Subhead</p>
182 <p class="mdl-typography--title-color-contrast">Title</p>
184 <p class="mdl-typography--display-1-color-contrast">Display</p>
188 <div class="demo-preview-block">
189 <div class="demo-typography--black">
190 <p class="mdl-typography--caption-color-contrast">Caption</p>
192 <p class="mdl-typography--body-2-color-contrast">Body</p>
194 <p class="mdl-typography--subhead-color-contrast">Subhead</p>
196 <p class="mdl-typography--title-color-contrast">Title</p>
198 <p class="mdl-typography--display-1-color-contrast">Display</p>
202 <div class="demo-preview-block">
203 <div class="demo-typography--img-1">
204 <p class="mdl-typography--caption-color-contrast">Caption</p>
206 <p class="mdl-typography--body-2-color-contrast">Body</p>
208 <p class="mdl-typography--subhead-color-contrast">Subhead</p>
210 <p class="mdl-typography--title-color-contrast">Title</p>
212 <p class="mdl-typography--display-1-color-contrast">Display</p>
216 <div class="demo-preview-block">
217 <div class="demo-typography--img-2">
218 <p class="mdl-typography--caption-color-contrast">Caption</p>
220 <p class="mdl-typography--body-2-color-contrast">Body</p>
222 <p class="mdl-typography--subhead-color-contrast">Subhead</p>
224 <p class="mdl-typography--title-color-contrast">Title</p>
226 <p class="mdl-typography--display-1-color-contrast">Display</p>