简单画图,对html还是不太熟悉,画得不太像。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.box {
width: 500px;
height: 500px;
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
position: relative;
}
.box div {
position: absolute;
}
.head {
width: 320px;
height: 300px;
justify-content: center;
align-items: center;
border: 2px solid #223b41;
background: #09b8e3;
border-radius: 160px 160px 170px 170px;
position: relative;
z-index: 0;
box-shadow: -15px 30px 30px -30px #fff inset, 15px -30px 30px -30px #000 inset, -68px 40px 85px -60px #8b8b8b;
}
.head p {
position: absolute;
}
.face {
width: 270px;
height: 200px;
top: 90px;
left: 24px;
border-radius: 50%;
background: #fff;
border: 2px solid #223b41;
z-index: 3;
position: relative;
}
.face i {
position: absolute;
}
.bread1 {
width: 60px;
height: 2px;
top: 94px;
left: 24px;
transform: rotate(-15deg);
background: #000;
}
.bread2 {
width: 60px;
height: 2px;
top: 63px;
left: 24px;
transform: rotate(15deg);
background: #000;
}
.bread3 {
width: 60px;
height: 2px;
top: 78px;
left: 24px;
background: #000;
}
.bread4 {
width: 60px;
height: 2px;
top: 94px;
right: 24px;
transform: rotate(15deg);
background: #000;
}
.bread5 {
width: 60px;
height: 2px;
top: 63px;
right: 24px;
transform: rotate(-15de