code
code
*{ margin: 0; padding: 0; box-sizing: border-box; } .center_div{ width: 100vw; height: 100vh; background: rgba(173, 198, 204, 0.856); display: grid; place-items: center; z-index: -6; position: absolute; } .body{ width: 18rem; height: 25rem; /* background:orange; */ position: relative; } .body::before, .body::after{ content: ''; position: absolute; width: 3rem; height: 3rem; border-radius: 50% 50% 0 0; background:orange; transform: rotate(-40deg); margin-left: 3.2rem; border-top: 1px solid #000; border-left: 1px solid #000; border-right: 1px solid #000; } .body::after{ right: 0; transform: rotate(40deg); margin-right: 3rem; } .circle{ content: ''; position: absolute; width: 1.5rem; height: 1.5rem; border-radius: 50% 50% 0 0; background: brown; transform: rotate(-40deg); margin-left: 4rem; margin-top: 1rem; } .circle3{ content: ''; position: absolute; width: 1.5rem; height: 1.5rem; border-radius: 50% 50% 0 0; background: brown; transform: rotate(40deg); margin-left: 12.5rem; margin-top: 1rem; z-index: 1; } .face{ height: 10.5rem; width: 10rem; background:orange; position: absolute; border-radius: 50%; z-index: -1; margin-top: 0.7rem; margin-left: 4rem; border: 1px solid black; } .eye{ position: absolute; width: 8rem; height: 2rem; margin-top: 3.5rem; margin-left: 1rem; z-index: 0; display: flex; justify-content: center; align-items: center; } .lefteye{ height: 1.3rem; width: 1rem; background: #000; border-radius: 50%; margin-right: 1.2rem; } .righteye{ height: 1.3rem; width: 1rem; background: #000; border-radius: 50%; } .eye::before{ content: ''; position: absolute; top: 70%; left: 20%; height: 5rem; width: 4.8rem; border-radius: 50%; border: 0.5px solid #000; } .nose{ position: absolute; width: 1.8rem; height: 1.5rem; background: #000; top: 120%; border-radius: 50%; } .line{ position: absolute; height: 1rem; width: 0.1rem; border: 1px dotted #000; top: 3.7rem; } .tongue{ position: absolute; height: 1.5rem; width: 2rem; border: 1px solid black; background: red; border-radius: 0 0 50% 50%; top: 4.7rem; } .stomach{ position: absolute; height: 15rem; width: 12.5rem; background:orange; top: 60%; left: 50%; transform: translate(-50%, -50%); z-index: -4; border-radius: 50%; border: 1px solid #000; } .hand1{ position: relative; height: 5.8rem; width: 12.5rem; display: flex; align-items: center; justify-content: center; top: 10%; } .hand, .hand::before{ content: ''; position: absolute; height: 5.8rem; width: 5rem; border: 1px solid #000; border-radius: 50%; background:orange; } .hand{ margin-right: 11rem; } .hand::before{ left: 225%; } .feet{ position: absolute; height: 6.5rem; width: 12.5rem; bottom: 0; display: flex; align-items: center; } .leg{ position: absolute; height: 7rem; width: 6rem; border: 1px solid #000; background-color:orange; border-radius: 50%; right: 60%; } .leg1{ position: absolute; height: 7rem; width: 6rem; border: 1px solid #000; background-color: orange; border-radius: 50%; left: 60%; } .circle11{ position: absolute; height: 2.4rem; width: 1.5rem; background-color: brown; border-radius: 50%; top: 20%; right: 60%; } .circle1{ position: absolute; height: 2.4rem; width: 1.5rem; background-color: brown; border-radius: 50%; top: 20%; left: 60%; } .circle2{ position: absolute; height: 2rem; width: 1.5rem; background-color: brown; border-radius: 50%; top: 20%; left: 32%; } .circle21{ position: absolute; height: 2rem; width: 1.5rem; background-color: brown; border-radius: 50%; top: 20%; right: 32%; } .circle5{ position: absolute; height: 1.4rem; width: 1.4rem; background-color: brown; border-radius: 50%; top: 30%; left: 6%; } .circle51{ position: absolute; height: 1.3rem; width: 1.3rem; background-color: brown; border-radius: 50%; top: 30%; right: 6%; } .circle4{ position: absolute; height: 3rem; width: 3.5rem; background: brown; border-radius: 50%; top: 50%; left: 20%; } .circle41{ position: absolute; height: 3rem; width: 3.5rem; background: brown; border-radius: 50%; top: 50%; right: 20%; }