<h3>Cape Verde</h3>

<div class="flag cape_verde">
  <img src="https://imgur.com/hlJEzak.png" alt="" class="cape_verde__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;
}

.cape_verde {
  background-color: #22408b;
}

.cape_verde::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 30px;
  bottom: 30px;
  background-color: #ce2029;
  border-color: white;
  border-style: solid;
  border-width: 30px 0;
}

.cape_verde__logo {
  position: absolute;
  width: 135px;
  bottom: 10px;
  left: 30px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.