CodezillaYemen

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
</head>
<body>
 <div class="flag">
 <div class="stripe red-stripe"></div>
 <div class="stripe white-stripe"></div>
 <div class="stripe black-stripe"></div>
 <div class="flagpole"></div>
 </div>
</body>
</html>
/* Flag container */
 .flag {
 width: 200px; /* Adjust the size as needed */
 height: 150px;
 position: relative;
 }

 /* Stripes */
 .stripe {
 height: 50px;
 width: 100%;
 position: absolute;
 }

 .red-stripe {
 background-color: red;
 top: 0;
 }

 .white-stripe {
 background-color: white;
 top: 50px;
 }

 .black-stripe {
 background-color: black;
 top: 100px;
 }

 /* Flagpole */
 .flagpole {
 width: 10px;
 height: 150px;
 background-color: #333; /* Dark gray color for the flagpole */
 position: absolute;
 left: -10px; /* Adjust the position to align with the flag */
 top: 0;
 transform: rotate(-10deg); /* Tilt the flagpole */
 }