li { width:4px; height:4px; box-sizing:border-box; display:inline-block; } #warp { width:400px; border:1px solid black; } ul { padding:0; margin:0; } .tsb { display:inline-block; padding:0; margin:0; position:relative; top:10px; } .tsb span { height:30px; width:30px; display:inline-block; margin:0; } .tsb span:nth-child(1) { background:rgba(255,0,255); } .tsb span:nth-child(2) { background:rgba(0,255,255); } .tsb span:nth-child(3) { background:rgba(255,255,0); } .tsb span:nth-child(4) { background:rgba(0,0,255); } .tsb span:nth-child(5) { background:rgba(0,255,0); } .tsb span:nth-child(6) { background:rgba(255,0,0); } .tsb span:nth-child(7) { background:rgba(0,0,0); }
更新时间:2020-03-13 01:11:03