I have successfully created the Indian flag using HTML and CSS, with the exception of the Ashok Chakra. Now, I am looking to create the Irish flag which features a vertical tricolor design, unlike the horizontal tricolor layout of the Indian flag. Can anyone provide guidance on how to achieve this? Below are the code snippets I have come up with for the Irish flag.
body {
background-color: yellow;
margin-left: 40%;
margin-right: 40%;
}
.top {
background-color: orange;
width: 320px;
height: 80px;
}
.mid {
background-color: white;
width: 320px;
height: 80px;
}
.botm {
background-color: green;
width: 320px;
height: 80px;
}
<html>
<head>
<link rel="stylesheet" type="text/css" href="ireland.css">
<title>Flag</title>
</head>
<body>
<div class="top"></div>
<div class="mid"></div>
<div class="botm"></div>
</body>
</html>