James McGrath

Single div flags

Published on Sep 28, 2019
Reading time: 1 minute

I enjoy the challenge of making single div things using just CSS to make it. Over the past few years I made a few country flags.

First up is the flag of Thailand.

Here’s the Thai flag as a mixin that only requires the length and height.

Next is the flag of Japan.

Here's the Laos flag. It's pretty much a combination between the first two.