试试这个:
.b-shadow:hover {
box-shadow: 0 2px 6px 0 rgba(0,0,0,.1);border:1px solid #edeaea; border-radius:5px;
}
.b-shadow:hover:after {
width: 100%;
}
.b-top > div:after {
content: '';
display: block;
width: 0;
height: 2px;
background: #000;
transition: width .3s;
}
.b-shadow {
border: 1px solid transparent
}
Learning Center
Use the Learning Center to find an answer on your own.
Learning Center
Use the Learning Center to find an answer on your own.