<div class="well">
<div class="progress-bar">Loading...</div>
</div>
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
font: 150%/1.4 Helvetica, Arial, sans-serif;
padding: 20px;
letter-spacing: 10px;
}
.well {
width: 100%;
background-color: #F7F7F7;
background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);
background-repeat: repeat-x;
border-radius: 4px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
overflow: hidden;
}
.progress-bar {
animation: progress 6s;
padding: .3em;
text-align: center;
color: rgba(255,255,255,100);
background-image: linear-gradient(135deg, #26BDA6, #FF9F65, #DED37E);
border-radius: 4px 4px 4px 4px;
}
@keyframes progress {
from {
width: 0;
color: rgba(255,255,255,0);
}
to {
width: 100%;
color: rgba(255,255,255,1);
}
}
/* rodeo-002
- animate bg position
- animate text opacity/color to pulse
- or animate letter spacing to pulse
- jquery to adjust width with progress
*/
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.