* { margin:0; } #main { width:60%; position:relative; left:calc(50% - 30%); text-align:center; display:none; } .main_Car { width:200px; height:250px; border:1px solid rgba(225,0,255,0.295); margin:0 auto; margin-top:20px; overflow:hidden; z-index:1; } .mainLoad { width:140%; z-index:-1; height:122%; background-color:rgba(216,168,135,0.74); position:relative; transition:all 0.5s; top:-11%; left:-20%; transform:rotate(10deg) } .main_Car>div:first-child { position:absolute; width:200px; top:calc(50% - 46px); } #text { font-size:40px; font-weight:bold; } .loadSty { position:relative; top:calc(100% - 2px); height:2px; width:100%; transition:all 0.5s; background-color:rgb(36,38,143); } #mainSelect { width:60%; min-width:500px; position:relative; left:calc(50% - 30%); text-align:center; padding:20px; display:none; } #mainSelect .select { width:300px; margin:0 auto; display:block; text-align:left; } #mainSelect head { font-weight:bold; } #mainSelect .select label { display:block; text-align:left; padding:10px; }
更新时间:2020-07-20 09:37:31
异步编程,纯js与css交互有语音