<h3>Uganda</h3>

<div class="flag uganda">
  <img src="https://imgur.com/FVFkkOQ.png" width="62" alt="" />
</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;
}
.uganda {
  background: repeating-linear-gradient(
    #000,
    #000 16.6%,
    #fbdd00 16.6%,
    #fbdd00 33.2%,
    #da0000 33.2%,
    #da0000 50%
  );
  display: grid;
  place-items: center;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.