cym01494
2017-07-15 21:33
body{
font-family: Georgia,serif;
background: #ddd;
font-weight: 400;
font-size: 15px;
color: #333;
-webkit-font-smoothing:antialiased;
}
a{
text-decoration: none;
color:#555;
}
<!-- 链接样式-->
.clr{
width: 0;
height:0;
overflow: hidden;
clear: both;
padding :0;
margin: 0;
}
.st-container{
width:100%;
height: 100%;
position: :absolute;
left: 0;
top :0;
font-family: "Josefin Slab","Myriad Pro",Arial,sans-serif;
}
.st-container > input,
.st-container > a{
width: 20%;
height: :34px;
line-height: 34px;
position: fixed;
bottom:0;
}
.st-container > input{
<!--- display: :none;position: absolute;left :-99999px;visibility: hidden;opacity: 0
都可以把元素影藏掉,
display: :none;影藏不占位,不在这个地方。position: absolute;在这个地方。left :-99999px;不存在--->
opacity: 0;
z-index:1000;
}
.st-container > a{
z-index: 10;
font-weight: 700;
font-size: 16px;
background: #e23a6e;
text-align: center;
color: #fff;
box-shadow: 1px 1px 1px rgba(151,24,64,0.2);
}
*{
margin:0px;
padding :0px;
}
css3实现网页平滑过渡效果
54371 学习 · 372 问题
相似问题