web-node
css:
<style>
html,body
{
height: 100%;
overflow: hidden;
}
body,div,h2{
margin: 0;

}
center{
padding-top: 10px;
}
button{
cursor: pointer;
}
#outer{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
opacity: 0.5;
filter:alpha(opacity=50);
display: block;
}
#windows{
position: absolute;
top: 50%;
left: 50%;
width: 88%;
height: 60%;
background: #fff;
border: 4px solid #F90;
overflow: hidden;
transform: translate3d(-50%, -50%, 0);
display: block;
}
h2{
text-align: right;
background: #FC0;
border-bottom: 3px solid #F90;
}
h2 span{
color: #F90;
cursor: pointer;
background: #FFF;
border: 1px solid #F90;
padding: 0 2px;
}
p{
text-align: justify;
text-indent: 2em;
}
</style>

html:

<div id="windows">
<h2>title<span id="close">*</span></h2>
<p>测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台测试平台</p>
</div>




分类:

技术点:

相关文章:

  • 2022-01-01
  • 2021-11-04
  • 2021-04-25
  • 2022-01-01
  • 2021-12-18
  • 2021-07-31
  • 2022-01-01
  • 2021-11-17
猜你喜欢
  • 2021-04-25
  • 2021-08-28
  • 2021-11-05
  • 2021-05-13
  • 2022-01-10
  • 2022-01-01
  • 2022-01-01
相关资源
相似解决方案