student_index.css
550 字节
.main{
width: 100%;
}
.main>text{
display: block;
margin: 3rem auto;
width: 10rem;
font-size: 1.3rem;
}
.outter{
display: flex;
justify-content: space-between;
width: 80rem;
height: 20rem;
margin:0 auto 6rem;
}
.item{
position: relative;
z-index: 30;
width: 20rem;
height: 20rem;
border-radius: 1rem;
background-color: #fff;
box-shadow: 0 0 30px 2px rgba(0,0,0,0.2);
}
.item img{
width: 7rem;
height: 16rem;
display: block;
margin:3rem auto;
}
.item:hover{
box-shadow: 0 0 30px 2px rgba(0,0,0,0.2), 0.5rem 0.5rem 0 0 #c2edfe;
}