Html program to print a star

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        .star {
            width: 0;
            height: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-bottom: 100px solid gold;
            position: relative;
            margin: 50px 0;
        }
        .star:before {
            content: '';
            width: 0;
            height: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-top: 100px solid gold;
            position: absolute;
            top: 30px;
            left: -50px;
        }
    </style><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        .star {
            width: 0;
            height: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-bottom: 100px solid gold;
            position: relative;
            margin: 50px 0;
        }
        .star:before {
            content: '';
            width: 0;
            height: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-top: 100px solid gold;
            position: absolute;
            top: 30px;
            left: -50px;
        }
    </style>
</head>
<body>
    <div class="star"></div>
</body>
</html>

iv>
</head>
<body>
    <div class="star"></div>
</body>
</html>

Comments

Popular posts from this blog

What does one mean by exothermic and endothermic reactions? Give examples.

Data Mining || Supervised vs. Unsupervised Techniques || Dimensionality Reduction || Partitioning Methods

NCERT Solutions class 10 Science Chapter 9 || (Heredity and Evolution Solution Class 10 Science Chapter 9 || Heredity and Evolution Solution || Biology || Science ||

2.0 gram of a metal burst in oxygen give 3.2 gram of its oxide. 1.42 gram of the same metal heat in steam give 2.27 gram of its oxide which toys shown by this data?

Vectors important questions of physics || Important question of PHYSICS || Important question of Basic Mathematics || MOTION IN A PLANE || Physics||