Мой вариант 100% . У кого есть идеи, как упростить код?
.ireland {
/* цвета: #009b48, #ffffff, #ff7900 */
background-image:linear-gradient(90deg,#009b48 33%,#ffffff 33%,#ffffff 66%, #ff7900 66%);
}
.trinidad {
/* цвета: #ce1126, #ffffff, #000, #ce1126 */
background-image:linear-gradient(45deg,#ce1126 40%,#ffffff 40% ,#ffffff 43%,#000 43%, #000 57%, #ffffff 57%, #ffffff 60%,#ce1126 60%);
}
.congo {
/* цвета: #009543, #fbde4a, #dc241f */
background-image:linear-gradient(135deg,#009543 40%,#fbde4a 40%,#fbde4a 60%,#dc241f 60%);
}
.mauritius {
/* цвета: #ea2839, #1a206d, #ffd500, #00a551 */
background-image:linear-gradient(180deg, #ea2839 25%,#1a206d 25%, #1a206d 50%,#ffd500 50%,#ffd500 75%,#00a551 75%);
}
.botswana {
/* цвета: #449ed3, #ffffff, #000000 */
background-image:linear-gradient(180deg,#449ed3 30%,#ffffff 30%,#ffffff 35%,#000000 35%,#000000 65%,#ffffff 65%,#ffffff 70%, #449ed3 70%);
}
.madagaskar {
/* цвета: #fc3d32, #007e3a */
background-image:linear-gradient(180deg,#fc3d32 50%,#007e3a 50%);
background-position: 50px 0;
background-repeat: no-repeat;
}