<h3>Kazakhstan</h3>
<div class="flag kazakhstan">
<img height="140" src="https://imgur.com/kRMTKRv.png" alt="" class="kazakhstan__center_logo" />
<img height="178" src="https://imgur.com/ZrWtDUS.png" alt="" class="kazakhstan__left_logo" />
</div>
* {
box-sizing: border-box;
margin: 0;
}
body {
width: 100%;
height: 100vh;
background-color: rgb(221, 239, 255);
display: grid;
place-items: center;
font-family: cursive;
font-weight: bold;
}
h3 {
position: absolute;
text-align: center;
top: 20px;
}
/* Main Style Stars from here */
.flag {
position: relative;
width: 300px;
height: 200px;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
.kazakhstan {
background: #00afca;
}
.kazakhstan > * {
position: absolute;
}
.kazakhstan__left_logo {
left: 3%;
top: 5.5%;
}
.kazakhstan__center_logo {
left: 90px;
top: 15px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.