* { padding:0; margin:0; } .Menu { width:130px; height:100%; position:absolute; left:-130px; transition:300ms; background-color:cornflowerblue; } .Menu li { text-align:center; list-style:none; width:130px; height:40px; color:white; line-height:40px; margin-top:20px; } .BtnToggle { position:absolute; left:0px; cursor:pointer; transition:300ms; } .BtnToggle p { width:30px; height:6px; margin-top:3px; display:block; left:0px; z-index:10000; background-color:black; } .active { left:0; } .BtnToggleClass { left:135px; }
更新时间:2023-12-17 23:51:04