User:Star0/styles.css:修订间差异
小无编辑摘要 |
标签:撤销 |
||
(未显示同一用户的6个中间版本) | |||
第1行: | 第1行: | ||
.body { | |||
background-color: #e4eff3; | |||
height:1000px; | |||
} | |||
.box { | |||
position: absolute; | |||
left: 50%; | |||
top: 400px; | |||
margin-left: -300px; | |||
margin-top: -300px; | |||
width: 600px; | |||
height: 600px; | |||
background: #ffffff; | |||
line-height: 72px; | |||
font-size: 36px; | |||
text-align: center; | |||
border-radius: 2%; | |||
} | |||
.circleImg > img { | |||
border-radius: 100%; | |||
width: 100px; | |||
height: 100px; | |||
position: absolute; | |||
z-index: 2; | |||
left: 50%; | |||
top: 102.5px; | |||
margin-left: -50px; | |||
margin-top: -50px; | |||
border-style: solid; | |||
border-width: 2.5px; | |||
border-color: #FFFFFF; | |||
} | |||
@media all and ( max-width: 720px ) { | |||
.box{ | |||
width: 90%; | |||
margin-left:-45%; | |||
font-size: 32px; | |||
} | |||
.small { | |||
font-size: 20px; | |||
} | |||
} |
2021年8月4日 (三) 12:04的最新版本
.body {
background-color: #e4eff3;
height:1000px;
}
.box {
position: absolute;
left: 50%;
top: 400px;
margin-left: -300px;
margin-top: -300px;
width: 600px;
height: 600px;
background: #ffffff;
line-height: 72px;
font-size: 36px;
text-align: center;
border-radius: 2%;
}
.circleImg > img {
border-radius: 100%;
width: 100px;
height: 100px;
position: absolute;
z-index: 2;
left: 50%;
top: 102.5px;
margin-left: -50px;
margin-top: -50px;
border-style: solid;
border-width: 2.5px;
border-color: #FFFFFF;
}
@media all and ( max-width: 720px ) {
.box{
width: 90%;
margin-left:-45%;
font-size: 32px;
}
.small {
font-size: 20px;
}
}