body{
margin: 0;
background: lightblue;
}
.doa{
position: relative;
top: 100px;
}
.head{
margin: 0 auto;
width: 400px;
height: 350px;
background: #008ee3;
position: relative;
border-radius: 50% 50% 25% 25% / 55% 55% 45% 45%;
}
.head:hover .face>div:first-child div{
left: 0px;
transition: all 1s;
}
.head:hover .face>div:first-child div div{
left: 0px;
transition: all 1s;
}
.head:hover{
}
.face{
width: 310px;
height: 260px;
background: snow;
border-radius: 50% 50% 25% 25% / 55% 55% 45% 45%;
position: relative;
top: 90px;
left: 45px;
}
.face>div:first-child{
width: 80px;