Demo page update for progress bars

This commit is contained in:
Angelos Chalaris 2016-10-21 23:42:36 +03:00
parent 3c005b8f05
commit 2edf1f3f32
2 changed files with 32 additions and 6 deletions

View file

@ -157,3 +157,4 @@
- Updated the edges of the favicon.
- Added grid demo on live page.
- Deployed live demo.
- Added demo docs for progress bars.

View file

@ -28,7 +28,7 @@
</style>
</head>
<body>
<div class="container" style="height: 320px; background: -webkit-linear-gradient(#455a64,#263238); background: linear-gradient(#455a64,#263238);">
<div class="container" style="height: 320px; background: -webkit-linear-gradient(#455a64,#263238); background: linear-gradient(#455a64,#263238); box-shadow: 0 1px 3px rgba(0,0,0,0.35);">
<div class="row">
<div class="col-xs">
<div class="box-centered">
@ -67,13 +67,13 @@
</div>
</div>
<div class="row">
<div class="col-xs">
<div>
<hr>
<p>Below you can see a showcase of the features and styles included in the <strong>default</strong> flavor of <strong>mini.css</strong>.</p>
<div class="col-xs">
<div>
<br><hr>
<p>Below you can see a showcase of the features and styles included in the <strong>default</strong> flavor of <strong>mini.css</strong>.</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs">
<div>
@ -189,7 +189,32 @@
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs">
<div>
<hr>
<h2>Common Elements <small>Styles for common HTML elements</small></h2>
</div>
</div>
</div>
<div class="row">
<div class="col-xs">
<div>
<p><strong>mini.css</strong> adds modern styles for many of the HTML elements.</p>
<h3>Progress bars</h3>
<p>The <code>&lt;progress&gt;</code> element is used for progress bars. There are three color variants (default, <code>secondary</code> and <code>tertiary</code>), as well as an <code>inline</code> class that displays the progress bar as an inline block, along with a <code>nano</code> variant for tiny progress bars. Below are some examples:</p>
<br>
<progress value="45" max="100""></progress><br>
<progress value="20" max="100" class="secondary"></progress><br>
<progress value="60" max="100" class="tertiary"></progress><br>
<p>Inline progress: <progress value="85" max="100" class="inline"></progress></p>
<p>Nano progress:</p>
<progress class="nano" value="35" max="100"></progress>
<br>
</div>
</div>
</div>
</div>
</body>