Bootstrap Progress Bar — стиль 39

Подробное описание и демонстрация работы полосы прогресса под номером №39 для библиотеки Bootstrap. Html и CSS код для реализации progress bar’a на сайте как на изображении.

Демо Шкалы прогресса — стиль 39

HTML5

90%

CSS3

35%

J-Query

70%

Bootstrap

55%
html разметка для реализации полосы прогресса

<div class="container">
<div class="row">
<div class="col-md-6">
<h3 class="progress-title">HTML5</h3>
<div class="progress">
<div class="progress1">
<div class="progress-bar" style="width: 90%; background: #00a79c;">
<div class="progress-value">90%</div>
</div>
</div>
<div class="progress2">
<div class="progress-bar2" style="width:90%; background: #00a79c;"></div>
</div>
</div>

<h3 class="progress-title">CSS3</h3>
<div class="progress">
<div class="progress1">
<div class="progress-bar" style="width: 35%; background: #ff794a;">
<div class="progress-value">35%</div>
</div>
</div>
<div class="progress2">
<div class="progress-bar2" style="width:35%; background: #ff794a;"></div>
</div>
</div>
</div>
</div>
</div>

css разметка для реализации полосы прогресса

.progress-title{
font-size: 16px;
color: #555;
margin: 5px 0 10px;
}
.progress{
background: transparent;
box-shadow: none;
overflow: visible;
border-radius: 0;
margin-bottom: 30px;
position: relative;
}
.progress .progress1,
.progress .progress2{
width: 100%;
height: 6px;
background: rgba(207, 222, 133,0.2);
position: relative;
}
.progress .progress2{
margin-left: 7px;
}
.progress .progress-bar,
.progress .progress-bar2{
height: 100%;
background: #b5967f;
position: absolute;
top: 0;
left: 1px;
box-shadow: none;
animation: animate-positive 2s;
}
.progress .progress-value{
font-size: 17px;
font-weight: bold;
color: #555;
position: absolute;
bottom: -35px;
right: 27px;
}
@-webkit-keyframes animate-positive {
0% { width: 0%; }
}
@keyframes animate-positive {
0% { width: 0%; }
}



Теги:
0

Оставить своё мнение

Ваш e-mail не будет опубликован. Обязательные поля помечены *