Change the <strong>size</strong> and <strong>color</strong> of the text for one or multiple viewport width
</h2>
<hr>
<h3class="title">Size</h3>
<divclass="content">
<p>
There are <strong>7 sizes</strong> to choose from:
</p>
</div>
<tableclass="table is-bordered">
<thead>
<tr>
<th>
Class
</th>
<th>
Font-size
</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>is-size-1</code></td>
<td><code>3rem</code></td>
</tr>
<tr>
<td><code>is-size-2</code></td>
<td><code>2.5rem</code></td>
</tr>
<tr>
<td><code>is-size-3</code></td>
<td><code>2rem</code></td>
</tr>
<tr>
<td><code>is-size-4</code></td>
<td><code>1.5rem</code></td>
</tr>
<tr>
<td><code>is-size-5</code></td>
<td><code>1.25rem</code></td>
</tr>
<tr>
<td><code>is-size-6</code></td>
<td><code>1rem</code></td>
</tr>
<tr>
<td><code>is-size-7</code></td>
<td><code>0.75rem</code></td>
</tr>
</tbody>
</table>
<hr>
<h3class="title">
Responsive size
</h3>
<divclass="content">
<p>
You can choose a <strong>specific</strong> size for <em>each</em> viewport width. You simply needed to append the <strong>viewport width</strong> to the size modifier.
</p>
<p>
For example, here are the modifiers for <code>$size-1</code>:
</p>
</div>
<tableclass="table is-bordered">
{{ thead }}
<tbody>
<tr>
<td><code>is-size-1-mobile</code></td>
{{ size1 }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
</tr>
<tr>
<td><code>is-size-1-tablet</code></td>
{{ unchanged }}
{{ size1 }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
</tr>
<tr>
<td><code>is-size-1-touch</code></td>
{{ size1 }}
{{ size1 }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
</tr>
<tr>
<td><code>is-size-1-desktop</code></td>
{{ unchanged }}
{{ unchanged }}
{{ size1 }}
{{ size1 }}
{{ size1 }}
</tr>
<tr>
<td><code>is-size-1-widescreen</code></td>
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ size1 }}
{{ size1 }}
</tr>
<tr>
<td><code>is-size-1-fullhd</code></td>
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ size1 }}
</tr>
</tbody>
</table>
<divclass="content">
<p>
You can use the same logic for each of the <strong>7 sizes</strong>.
</p>
</div>
<hr>
<h3class="title">
Colors
</h3>
<divclass="content">
<p>
You can set any element to one of the <strong>9 colors</strong> or <strong>9 shades of grey</strong>:
</p>
</div>
<tableclass="table is-bordered">
<thead>
<tr>
<th>
Class
</th>
<th>
Color
</th>
</tr>
</thead>
<tbody>
<tr><td><code>.has-text-white</code></td><td>{% include color/white.html %}</td></tr>
<tr><td><code>.has-text-black</code></td><td>{% include color/black.html %}</td></tr>
<tr><td><code>.has-text-light</code></td><td>{% include color/white-ter.html %}</td></tr>
<tr><td><code>.has-text-dark</code></td><td>{% include color/grey-darker.html %}</td></tr>
<tr><td><code>.has-text-primary</code></td><td>{% include color/turquoise.html %}</td></tr>
<tr><td><code>.has-text-info</code></td><td>{% include color/blue.html %}</td></tr>
<tr><td><code>.has-text-success</code></td><td>{% include color/green.html %}</td></tr>
<tr><td><code>.has-text-warning</code></td><td>{% include color/yellow.html %}</td></tr>
<tr><td><code>.has-text-danger</code></td><td>{% include color/red.html %}</td></tr>
<tr><td><code>.has-text-black-bis</code></td><td>{% include color/black-bis.html %}</td></tr>
<tr><td><code>.has-text-black-ter</code></td><td>{% include color/black-ter.html %}</td></tr>
<tr><td><code>.has-text-grey-darker</code></td><td>{% include color/grey-darker.html %}</td></tr>
<tr><td><code>.has-text-grey-dark</code></td><td>{% include color/grey-dark.html %}</td></tr>
<tr><td><code>.has-text-grey</code></td><td>{% include color/grey.html %}</td></tr>
<tr><td><code>.has-text-grey-light</code></td><td>{% include color/grey-light.html %}</td></tr>
<tr><td><code>.has-text-grey-lighter</code></td><td>{% include color/grey-lighter.html %}</td></tr>
<tr><td><code>.has-text-white-ter</code></td><td>{% include color/white-ter.html %}</td></tr>
<tr><td><code>.has-text-white-bis</code></td><td>{% include color/white-bis.html %}</td></tr>
</tbody>
</table>
<hr>
<h3class="title">Alignment</h3>
<divclass="content">
<p>
You can align the text with the use of one of <strong>3 alignment helpers</strong>:
You can now <strong>align text</strong> for <em>each</em> viewport width. You simply need to append the <strong>viewport width</strong> to the alignment modifier.
</p>
<p>
For example, here are the modifiers for <code>.has-text-left</code>: