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

Changing Trends And Career in Physical Education Solutions || Objective Type Questions || Objective Answers Chapter 1 Class 11 Solution || Physical Education ||

Vistas Chapter-2 The Tiger King || Revision Notes Class 12 Board Exams

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?

Kinematics Important Questions Of Physics

Test and Measurement in Sports Case Study Based Questions Chapter 6 Class 12 Physical education