#box { position:relative; width:140px; height:140px; float:right; } #ewm { width:140px; height:140px; } #ewm img{ width:140px; height:140px; } #close { width:20px; height:20px; line-height:20px; background-color:#000000; position:absolute; top:-5px; left:-5px; color:#FFFFFF; text-align:center; } .open { width:30px !important; height:100px !important; left:110px !important; line-height:30px; padding-top:20px; box-sizing:border-box; }
更新时间:2021-03-09 20:38:26
简单的隐藏、显示的js代码,兼容ie8