JS淘宝小广告
2021-06-04 10:04
阅读:328
YPE >
标签:osi san font get position bsp point height pointer
html>
*{
margin:0;
padding:0;
}
#app{
width: 295px;
height: 160px;
position: relative;
}
#app img
{
position: absolute;
right: 0;
}
#app #close{
position: absolute;
width: 18px;
height:18px;
border: 1px solid #e0e0e0;
text-align: center;
line-height: 18px;
cursor: pointer;
}
X
var close=document.getElementById(‘close‘);
var code=document.getElementById(‘app‘);
close.onclick=function(){
app.style.display="none"
}
JS淘宝小广告
标签:osi san font get position bsp point height pointer
原文地址:https://www.cnblogs.com/lxabner/p/12340983.html
评论
亲,登录后才可以留言!