webdev5A-DawidChallengeAnswer

public
tiara Mar 10, 2025 Never 108
Clone
HTML webdev5A-DawidChallengeAnswerHTML 13 lines (12 loc) | 238 Bytes
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<link rel="stylesheet" type="text/css" href="style.css"/>
5
</head>
6
<body>
7
<div class="flag poland">
8
<div class="stripe white"></div>
9
<div class="stripe red"></div>
10
</div>
11
</body>
12
13
</html>
CSS webdev5A-DawidChallengeAnswerCSS 18 lines (15 loc) | 208 Bytes
1
.flag {
2
width: 300px;
3
height: 200px;
4
border: 1px solid #000;
5
}
6
7
.stripe {
8
width: 100%;
9
height: 50%;
10
}
11
12
.white {
13
background-color: #ffffff;
14
}
15
16
.red {
17
background-color: #d52b1e;
18
}