<button>Button</button>
<a class="button">Primary</a>
<button class="primary">Primary</button>
<button class="success">Success</button>
<button class="danger">Danger</button>
<button class="warning">Warning</button>
<button class="info">Info</button>
<div class="alert primary">Primary </div>
<div class="alert success">Success</div>
<div class="alert danger">Danger</div>
<div class="alert warning">Warning</div>
<div class="alert info">Info</div>
Checkbox
Radio
Radio 2
The grid uses the flexbox system to make a responsive layout based on 12 columns.
It is very simple. Just add class row to the parent div and col-<size> for the desired grid size
<div class="row">
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
</div>
Singer | Group |
---|---|
Freddie Mercury | Queen |
Kurk Cobain | Nirvana |
John Lennon | Beatles |
Jon Bon Jovi | Bon Jovi |
Just add class strip to the table
Singer | Group |
---|---|
Freddie Mercury | Queen |
Kurk Cobain | Nirvana |
John Lennon | Beatles |
Jon Bon Jovi | Bon Jovi |
Just add class bordered to the table
Singer | Group |
---|---|
Freddie Mercury | Queen |
Kurk Cobain | Nirvana |
John Lennon | Beatles |
Jon Bon Jovi | Bon Jovi |
You can make your tables responsive. First, add the class responsive and in all <td>, add the properties data-title with data title. Example:
<table class="responsive">
<thead>
<tr>
<th>Singer</th>
<th>Group</th>
</tr>
</thead>
<tbody>
<tr>
<td data-title="Singer">Freddie Mercury</td>
<td data-title="Group">Queen</td>
</tr>
<tr>
<td data-title="Singer">Kurk Cobain</td>
<td data-title="Group">Nirvana</td>
</tr>
<tr>
<td data-title="Singer">John Lennon</td>
<td data-title="Group">Beatles</td>
</tr>
<tr>
<td data-title="Singer">Jon Bon Jovi</td>
<td data-title="Group">Bon Jovi</td>
</tr>
</tbody>
</table>
Reduce the size of the window to view the result
Singer | Group |
---|---|
Freddie Mercury | Queen |
Kurk Cobain | Nirvana |
John Lennon | Beatles |
Jon Bon Jovi | Bon Jovi |
You can use your favorite font icon. I tested with Google Material Icons, Font Awesome and custom font made with Fontello
<button><i class="material-icons">check</i>check</button>
Text <i class="material-icons">code</i> other text
Text code other text
<button><i class="fas fa-check"></i>check</button>
Text <i class="fas fa-code"></i> other text
Text other text
<button><i class="icon-ok"></i>check</button>
Text <i class="icon-code"></i> other text
Text other text
MicroCSS includes rules to make images, videos and audio elements responsive, and one utility to turn iframes responsive, for example, iframes for YouTube video, Google Maps, etc.
<div class="resp-iframe">
<iframe width="560" height="315" src="https://www.youtube.com/embed/UQ3bqYKnyhM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
MicroCSS includes some classes to make navigation bars.
<div class="navbar">
<nav>
<span class="navbar-title">MicroCSS</span>
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</nav>
</div>
<div class="navbar">
<nav>
<span class="navbar-title navbar-vert">MicroCSS</span>
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</nav>
</div>
<div class="navbar">
<nav>
<span class="navbar-title fixed">MicroCSS</span>
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</nav>
</div>
The main menu of these page is an example.
<blockquote>
This is a blockquote.
</blockquote>
This is a blockquote.
<pre><code>body
{
font-size: 16px;
color: #212121;
}</code></pre>
This is a card.
<div class="card">
<div class="card-title">Card Title</div>
<div class="card-body">
<p>
This is a card.
</p>
</div>
<div class="card-footer">
<button>GO</button>
</div>
</div>
MicroCSS includes some functional classes: