
Подробное описание и демонстрация работы полосы прогресса под номером №68 для библиотеки Bootstrap. Html и CSS код для реализации progress bar’a на сайте как на изображении.
Демо Шкалы прогресса — стиль 68
HTML5
CSS3
J-Query
PHP
<div class="container"> <div class="row"> <div class="col-md-6"> <h3 class="progress-title">HTML5</h3> <div class="progress"> <div class="progress-bar" style="width:65%; border-top-color:#f95738;"> <div class="progress-value">65%</div> </div> </div> <h3 class="progress-title">CSS3</h3> <div class="progress"> <div class="progress-bar" style="width:87%; border-top-color:#ecb82d;"> <div class="progress-value">87%</div> </div> </div> </div> </div> </div>css разметка для реализации полосы прогресса
.progress-title{ font-size: 18px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 30px; } .progress{ height: 10px; background: #000; border-radius: 10px; box-shadow: none; margin-bottom: 40px; overflow: visible; } .progress .progress-bar{ background: #fff; box-shadow: none; border-radius: 0; border-top-width: 10px; border-style: dotted; position: relative; -webkit-animation: animate-positive 2s; animation: animate-positive 2s; } .progress .progress-value{ font-size: 18px; font-weight: 700; color: #000; position: absolute; top: -32px; right: -5px; } @-webkit-keyframes animate-positive{ 0%{ width: 0; } } @keyframes animate-positive{ 0%{ width: 0; } }