.input {
width:150px;
position:absolute;
}
.input input {
display:block;
margin-bottom:2px;
width:60px;
border:none;
border:1px solid rgb(22,212,203);
}
.input input:nth-of-type(1) {
background-color:rgba(255,238,0,0.979);
}
.input input:nth-of-type(2) {
background-color:rgb(30,238,11);
}
.input input:nth-of-type(3) {
background-color:rgb(255,102,0);
}
.input input:nth-of-type(4) {
background-color:rgb(236,13,236);
}
.input input:nth-of-type(5) {
background-color:rgb(0,102,255);
}
.input input:nth-of-type(6) {
background-color:rgba(158,154,154,0.993);
}
.input input:nth-of-type(7) {
background-color:rgb(218,70,82);
}
button {
width:62px;
background-color:#fff;
outline:none;
}
canvas {
display:block;
}
可传入数据,生成饼形统计图,实现数据的可视化,更直观的面向数据;