html, body {
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
color: #333333;
font-size: 1em;
line-height: 1.5em;
}
#chart {
width: 90%;
margin: 0px auto;
padding: 1em 0;
position: relative;
}
#chart .item-wrap::after {
content: '';
display: table;
clear: left;
}
#chart .item-wrap .label {
float: left;
width: 25%;
text-align: right;
margin-right: 4%;
height: 50px;
line-height: 50px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0.4em 0;
}
#chart .item-wrap .bar {
float: left;
width: 70%;
position: relative;
height: 50px;
border-left: solid 1px #333;
padding: 0.4em 0;
}
#chart .item-wrap .bar .bar-fill {
height: 100%;
width: 0;
position: relative;
text-indent: -99999px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border: solid 1px #e12794;
background-color: #e12794;
background: linear-gradient(0deg, #e12794 0%, #ff56bb 100%);
-webkit-transition: width 600ms cubic-bezier(0.585, 0.365, 0.61, 1.27);
-moz-transition: width 600ms cubic-bezier(0.585, 0.365, 0.61, 1.27);
-o-transition: width 600ms cubic-bezier(0.585, 0.365, 0.61, 1.27);
transition: width 600ms cubic-bezier(0.585, 0.365, 0.61, 1.27);
}
@media (max-width: 770px) {
#chart {
width: 95%;
}
#chart .item-wrap .label {
width: 30%;
margin-right: 4%;
}
#chart .item-wrap .bar {
width: 65%;
}
}
@media (max-width: 520px) {
#chart .item-wrap .label {
width: 0;
}
#chart .item-wrap .bar {
width: 95%;
}
}