Last Updated: February 25, 2016
·
488
· sevenupcan

Create a checkerboard in CSS3

.checker {
  height: 0;
  width: 20%;
  padding-top: 20%;
  float: left;
  background: black;
}

.checker:nth-of-type(even) {
  background: white;
}

Demo

http://jsbin.com/afikin/1/