A Smile 😊 Codes in Html with Css

<!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>Smile Shape</title>
    <style>
        .maincircle {
            margin: 60px;
            padding: 60px;
            background: yellow;
            border-radius: 100%;
            width: 200px;
            height: 220px;

        }

        .semicircle1 {
            position: absolute;
            top: 140px;
            left: 140px;
            background: black;
            border-radius: 50%;
            width: 50px;
            height: 60px;
        }

        .semicircle2 {
            position: absolute;
            top: 140px;
            left: 275px;
            background: black;
            border-radius: 50%;
            width: 50px;
            height: 60px;
        }

        .elipse {
            position: absolute;
            top: 190px;
            left: 130px;
            float: left;
            width: 170px;
            height: 170px;
            margin: 20px;
            shape-outside: ellipse(50% 60%);
            clip-path: ellipse(50% 3%);
            background: red;
        }
    </style>
</head>

<body>
    <div class="maincircle"></div>
    <div class="semicircle1"></div>
    <div class="semicircle2"></div>
    <div class="elipse"></div>

</body>

</html>

Comments