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 {
            margin60px;
            padding60px;
            backgroundyellow;
            border-radius100%;
            width200px;
            height220px;

        }

        .semicircle1 {
            positionabsolute;
            top140px;
            left140px;
            backgroundblack;
            border-radius50%;
            width50px;
            height60px;
        }

        .semicircle2 {
            positionabsolute;
            top140px;
            left275px;
            backgroundblack;
            border-radius50%;
            width50px;
            height60px;
        }

        .elipse {
            positionabsolute;
            top190px;
            left130px;
            floatleft;
            width170px;
            height170px;
            margin20px;
            shape-outsideellipse(50% 60%);
            clip-pathellipse(50% 3%);
            backgroundred;
        }
    </style>
</head>

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

</body>

</html>

Comments

Popular posts from this blog

command

The code of Loading in Html with Css