* {
margin: 0;
padding: 0;
border: none;
}
html,
body {
height: 100%;
background: #93b3c6;
overflow: hidden;
}
span {
display: block;
width: 16px;
height: 16px;
margin: 30px auto 40px;
border-radius: 50%;
background: #fff;
}
nav {
position: relative;
display: flex;
width: 78.125vw;
margin: 0 auto 45px;
justify-content: space-between;
}
nav:before {
position: absolute;
top: 20px;
width: 100%;
height: 10px;
background: #fff;
display: block;
content: '';
}
nav > a {
position: relative;
font-size: 20px;
padding: 10px;
border: 2px solid #5395b4;
color: #255d7e;
text-decoration: none;
background: #fff;
}
.div {
position: relative;
overflow: hidden;
width: 78.125vw;
height: 75vh;
margin: 0 auto;
background: #fff;
box-shadow: 0 0 30px 0 rgba(8, 1, 3, .3);
}
div > img {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 98%;
height: 96%;
}
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星