UNPKG

react-horizontal-bar-chart

Version:

Simple horizontal bar chart react component, with inline tooltips

46 lines (35 loc) 520 B
/* Stiziles */ html, body { background: #222222; } h2 { font-weight: 100 } /* main */ .main { width: 100%; height: 100%; background: #222222; color: #fff; } .main img { width: 103px; height: 89px; margin-bottom: 10px; text-align: center; } /* transitions */ .fade-enter { opacity: 0.01; transition: opacity .5s ease-in; } .fade-enter.fade-enter-active { opacity: 1; } .fade-leave { opacity: 1; transition: opacity .5s ease-in; } .fade-leave.fade-leave-active { opacity: 0.01; }