<style>
html{
width: 100%;
height: 100%;
position: relative;
}
div{
border: 1px solid blue;
}
.box{
position: absolute;
top: 50%;
left: 50%;
width: 800px;
height: 600px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
margin: -300px 0 0 -400px;
}
.left{
float: left;
width: 190px;
height: 600px;
}
.left button{
width: 150px;
height: 40px;
margin-top: 10px;
margin-left: 20px;
background: #5BD3CE;
color: white;
text-align: center;
font-size: 20px;
cursor: pointer;
outline: none;
}
.left button:first-child{
margin-top: 100px;
}
.reight{
float: left;
width: 600px;
height: 600px;
}
.top{
width: 600px;
height: 100px;
}
.moddle{
width: 600px;
height: 500px;
}
#b1-1:hover{
background: black;
}
</style>
</head>
<body>
<div class="box">
javaScript对html的添加和删除操作
最新推荐文章于 2023-12-21 12:43:31 发布