Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
background-color: #9bc1cc;
border-radius: 20px;
overflow: hidden;
- border: none !important;
position: relative;
}
.cbi-progressbar div {
height: 20px;
border-radius: 20px;
}
-.cbi-progressbar samll {
+.cbi-progressbar::after {
+ content: attr(title);
position: absolute;
top: 0;
left: 0;
});
});
- $('<samll>').text($('.cbi-progressbar').attr('title')).appendTo('.cbi-progressbar');
- setInterval(function(){
- $('.cbi-progressbar').each(function(i, e){
- $(this).children("samll").text($(this).attr('title'));
- });
-
- }, 5000);
-
-
})(jQuery);