-1
當內圓(黃色)的外部邊界(高度和寬度)懸停需要增加(動畫)從中心位置的中心和圓(黃色)的內部邊界當懸停在圓圈(黃色)外部邊界(高度和寬度)內時需要從中心增加(有生命力)並在相同位置圓圈?
{
background-color: yellow;
border-radius: 50%;
border: 1px solid grey;
padding: 10px;
}
.circle {
position: absolute;
border: 5px solid #000;
border-radius: 50%;
width: 40px;
height: 40px;
transition: width 0.5s, height 0.5s;
}
.circle:hover {
width: 60px;
height: 60px;
}
<div class="circle">
<span><a><i class="icon_social fa fa-facebook-square"></i></a></span>
</div>