Подробное описание и демонстрация работы полосы прогресса под номером №66 для библиотеки Bootstrap. Html и CSS код для реализации progress bar’a на сайте как на изображении.
Демо Шкалы прогресса — стиль 66
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%; background:#ef2d56;"> <div class="progress-value">65%</div> </div> </div> <h3 class="progress-title">CSS3</h3> <div class="progress"> <div class="progress-bar" style="width:87%; background:#ff9900;"> <div class="progress-value">87%</div> </div> </div> </div> </div> </div>css разметка для реализации полосы прогресса
.demo{ background: #2c304a; } .progress-title{ font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 20px; } .progress{ height: 20px; background: #171b3c; border-radius: 20px; border: 1px solid #000; box-shadow: 0 2px 2px #4f4c4c; margin-bottom: 40px; overflow: visible; position: relative; } .progress .progress-bar{ border-radius: 20px; border: 1px solid #000; -webkit-animation: animate-positive 2s; animation: animate-positive 2s; } .progress .progress-value{ width: 65px; height: 25px; line-height: 25px; background: #171b3c; font-size: 15px; color: #fff; border-radius: 0 0 15px 15px; border: 1px solid #000; border-top: none; box-shadow: 0 2px 2px #4f4c4c; position: absolute; bottom: -25px; right: 60px; } @-webkit-keyframes animate-positive{ 0% { width: 0; } } @keyframes animate-positive{ 0% { width: 0; } }