<ul class="mario">
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
  <li><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img><img></li>
</ul>
body {
  background: #a0adfe;
}

:root {
  /*肌色*/
--Hada: #facd89;
/*マリオ服*/ 
--Fuku: #ff0000;
/*マリオ他*/
--Hoka: #638c0b;
}

.mario {
  font-size: 0;
  margin: 0;
  padding: 0;
}

img {
  background: #eee;
  width: 10px;
  height: 10px;
}


/*1行目*/
.mario li:nth-child(1) img:nth-child(1) {background: none;}
.mario li:nth-child(1) img:nth-child(2) {background: none;}
.mario li:nth-child(1) img:nth-child(3) {background: none;}
.mario li:nth-child(1) img:nth-child(4) {background: none;}
.mario li:nth-child(1) img:nth-child(5) {background: none;}
.mario li:nth-child(1) img:nth-child(6) {background: none;}
.mario li:nth-child(1) img:nth-child(7) {background: none;}
.mario li:nth-child(1) img:nth-child(8) {background: none;}
.mario li:nth-child(1) img:nth-child(9) {background: none;}
.mario li:nth-child(1) img:nth-child(10) {background: none;}
.mario li:nth-child(1) img:nth-child(11) {background: none;}
.mario li:nth-child(1) img:nth-child(12) {background: none;}
.mario li:nth-child(1) img:nth-child(13) {background: none;}
.mario li:nth-child(1) img:nth-child(14) {background: var(--Hada);}
.mario li:nth-child(1) img:nth-child(15) {background: var(--Hada);}
.mario li:nth-child(1) img:nth-child(16) {background: var(--Hada);}

/*2行目*/
.mario li:nth-child(2) img:nth-child(1) {background: none;}
.mario li:nth-child(2) img:nth-child(2) {background: none;}
.mario li:nth-child(2) img:nth-child(3) {background: none;}
.mario li:nth-child(2) img:nth-child(4) {background: none;}
.mario li:nth-child(2) img:nth-child(5) {background: none;}
.mario li:nth-child(2) img:nth-child(6) {background: none;}
.mario li:nth-child(2) img:nth-child(7) {background: var(--Fuku);}
.mario li:nth-child(2) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(2) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(2) img:nth-child(10) {background: var(--Fuku);}
.mario li:nth-child(2) img:nth-child(11) {background: var(--Fuku);}
.mario li:nth-child(2) img:nth-child(12) {background: none;}
.mario li:nth-child(2) img:nth-child(13) {background: none;}
.mario li:nth-child(2) img:nth-child(14) {background: var(--Hada);}
.mario li:nth-child(2) img:nth-child(15) {background: var(--Hada);}
.mario li:nth-child(2) img:nth-child(16) {background: var(--Hada);}


/*3行目*/
.mario li:nth-child(3) img:nth-child(1) {background: none;}
.mario li:nth-child(3) img:nth-child(2) {background: none;}
.mario li:nth-child(3) img:nth-child(3) {background: none;}
.mario li:nth-child(3) img:nth-child(4) {background: none;}
.mario li:nth-child(3) img:nth-child(5) {background: none;}
.mario li:nth-child(3) img:nth-child(6) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(7) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(10) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(11) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(12) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(13) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(14) {background: var(--Fuku);}
.mario li:nth-child(3) img:nth-child(15) {background: var(--Hada);}
.mario li:nth-child(3) img:nth-child(16) {background: var(--Hada);}


/*4行目*/
.mario li:nth-child(4) img:nth-child(1) {background: none;}
.mario li:nth-child(4) img:nth-child(2) {background: none;}
.mario li:nth-child(4) img:nth-child(3) {background: none;}
.mario li:nth-child(4) img:nth-child(4) {background: none;}
.mario li:nth-child(4) img:nth-child(5) {background: none;}
.mario li:nth-child(4) img:nth-child(6) {background: var(--Hoka);}
.mario li:nth-child(4) img:nth-child(7) {background: var(--Hoka);}
.mario li:nth-child(4) img:nth-child(8) {background: var(--Hoka);}
.mario li:nth-child(4) img:nth-child(9) {background: var(--Hada);}
.mario li:nth-child(4) img:nth-child(10) {background: var(--Hada);}
.mario li:nth-child(4) img:nth-child(11) {background: var(--Hoka);}
.mario li:nth-child(4) img:nth-child(12) {background: var(--Hada);}
.mario li:nth-child(4) img:nth-child(13) {background: none;}
.mario li:nth-child(4) img:nth-child(14) {background: var(--Hoka);}
.mario li:nth-child(4) img:nth-child(15) {background: var(--Hoka);}
.mario li:nth-child(4) img:nth-child(16) {background: var(--Hoka);}


/*5行目*/
.mario li:nth-child(5) img:nth-child(1) {background: none;}
.mario li:nth-child(5) img:nth-child(2) {background: none;}
.mario li:nth-child(5) img:nth-child(3) {background: none;}
.mario li:nth-child(5) img:nth-child(4) {background: none;}
.mario li:nth-child(5) img:nth-child(5) {background: var(--Hoka);}
.mario li:nth-child(5) img:nth-child(6) {background: var(--Hada);}
.mario li:nth-child(5) img:nth-child(7) {background: var(--Hoka);}
.mario li:nth-child(5) img:nth-child(8) {background: var(--Hada);}
.mario li:nth-child(5) img:nth-child(9) {background: var(--Hada);}
.mario li:nth-child(5) img:nth-child(10) {background: var(--Hada);}
.mario li:nth-child(5) img:nth-child(11) {background: var(--Hoka);}
.mario li:nth-child(5) img:nth-child(12) {background: var(--Hada);}
.mario li:nth-child(5) img:nth-child(13) {background: var(--Hada);}
.mario li:nth-child(5) img:nth-child(14) {background: var(--Hada);}
.mario li:nth-child(5) img:nth-child(15) {background: var(--Hoka);}
.mario li:nth-child(5) img:nth-child(16) {background: var(--Hoka);}


/*6行目*/
.mario li:nth-child(6) img:nth-child(1) {background: none;}
.mario li:nth-child(6) img:nth-child(2) {background: none;}
.mario li:nth-child(6) img:nth-child(3) {background: none;}
.mario li:nth-child(6) img:nth-child(4) {background: none;}
.mario li:nth-child(6) img:nth-child(5) {background: var(--Hoka);}
.mario li:nth-child(6) img:nth-child(6) {background: var(--Hada);}
.mario li:nth-child(6) img:nth-child(7) {background: var(--Hoka);}
.mario li:nth-child(6) img:nth-child(8) {background: var(--Hoka);}
.mario li:nth-child(6) img:nth-child(9) {background: var(--Hada);}
.mario li:nth-child(6) img:nth-child(10) {background: var(--Hada);}
.mario li:nth-child(6) img:nth-child(11) {background: var(--Hada);}
.mario li:nth-child(6) img:nth-child(12) {background: var(--Hoka);}
.mario li:nth-child(6) img:nth-child(13) {background: var(--Hada);}
.mario li:nth-child(6) img:nth-child(14) {background: var(--Hada);}
.mario li:nth-child(6) img:nth-child(15) {background: var(--Hada);}
.mario li:nth-child(6) img:nth-child(16) {background: var(--Hoka);}


/*7行目*/
.mario li:nth-child(7) img:nth-child(1) {background: none;}
.mario li:nth-child(7) img:nth-child(2) {background: none;}
.mario li:nth-child(7) img:nth-child(3) {background: none;}
.mario li:nth-child(7) img:nth-child(4) {background: none;}
.mario li:nth-child(7) img:nth-child(5) {background: var(--Hoka);}
.mario li:nth-child(7) img:nth-child(6) {background: var(--Hoka);}
.mario li:nth-child(7) img:nth-child(7) {background: var(--Hada);}
.mario li:nth-child(7) img:nth-child(8) {background: var(--Hada);}
.mario li:nth-child(7) img:nth-child(9) {background: var(--Hada);}
.mario li:nth-child(7) img:nth-child(10) {background: var(--Hada);}
.mario li:nth-child(7) img:nth-child(11) {background: var(--Hoka);}
.mario li:nth-child(7) img:nth-child(12) {background: var(--Hoka);}
.mario li:nth-child(7) img:nth-child(13) {background: var(--Hoka);}
.mario li:nth-child(7) img:nth-child(14) {background: var(--Hoka);}
.mario li:nth-child(7) img:nth-child(15) {background: var(--Hoka);}
.mario li:nth-child(7) img:nth-child(16) {background: none;}


/*8行目*/
.mario li:nth-child(8) img:nth-child(1) {background: none;}
.mario li:nth-child(8) img:nth-child(2) {background: none;}
.mario li:nth-child(8) img:nth-child(3) {background: none;}
.mario li:nth-child(8) img:nth-child(4) {background: none;}
.mario li:nth-child(8) img:nth-child(5) {background: none;}
.mario li:nth-child(8) img:nth-child(6) {background: none;}
.mario li:nth-child(8) img:nth-child(7) {background: var(--Hada);}
.mario li:nth-child(8) img:nth-child(8) {background: var(--Hada);}
.mario li:nth-child(8) img:nth-child(9) {background: var(--Hada);}
.mario li:nth-child(8) img:nth-child(10) {background: var(--Hada);}
.mario li:nth-child(8) img:nth-child(11) {background: var(--Hada);}
.mario li:nth-child(8) img:nth-child(12) {background: var(--Hada);}
.mario li:nth-child(8) img:nth-child(13) {background: var(--Hada);}
.mario li:nth-child(8) img:nth-child(14) {background: var(--Hoka);}
.mario li:nth-child(8) img:nth-child(15) {background: none;}
.mario li:nth-child(8) img:nth-child(16) {background: none;}


/*9行目*/
.mario li:nth-child(9) img:nth-child(1) {background: none;}
.mario li:nth-child(9) img:nth-child(2) {background: none;}
.mario li:nth-child(9) img:nth-child(3) {background: none;}
.mario li:nth-child(9) img:nth-child(4) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(5) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(6) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(7) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(9) img:nth-child(9) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(10) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(11) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(12) {background: var(--Fuku);}
.mario li:nth-child(9) img:nth-child(13) {background: var(--Hoka);}
.mario li:nth-child(9) img:nth-child(14) {background: none;}
.mario li:nth-child(9) img:nth-child(15) {background: none;}
.mario li:nth-child(9) img:nth-child(16) {background: none;}


/*10行目*/
.mario li:nth-child(10) img:nth-child(1) {background: none;}
.mario li:nth-child(10) img:nth-child(2) {background: none;}
.mario li:nth-child(10) img:nth-child(3) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(4) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(5) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(6) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(7) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(8) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(10) img:nth-child(10) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(11) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(12) {background: var(--Hoka);}
.mario li:nth-child(10) img:nth-child(13) {background: var(--Fuku);}
.mario li:nth-child(10) img:nth-child(14) {background: none;}
.mario li:nth-child(10) img:nth-child(15) {background: none;}
.mario li:nth-child(10) img:nth-child(16) {background: var(--Hoka);}


/*11行目*/
.mario li:nth-child(11) img:nth-child(1) {background: none;}
.mario li:nth-child(11) img:nth-child(2) {background: var(--Hada);}
.mario li:nth-child(11) img:nth-child(3) {background: var(--Hada);}
.mario li:nth-child(11) img:nth-child(4) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(5) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(6) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(7) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(8) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(11) img:nth-child(10) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(11) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(12) {background: var(--Hoka);}
.mario li:nth-child(11) img:nth-child(13) {background: var(--Fuku);}
.mario li:nth-child(11) img:nth-child(14) {background: none;}
.mario li:nth-child(11) img:nth-child(15) {background: none;}
.mario li:nth-child(11) img:nth-child(16) {background: var(--Hoka);}


/*12行目*/
.mario li:nth-child(12) img:nth-child(1) {background: none;}
.mario li:nth-child(12) img:nth-child(2) {background: var(--Hada);}
.mario li:nth-child(12) img:nth-child(3) {background: var(--Hada);}
.mario li:nth-child(12) img:nth-child(4) {background: var(--Hada);}
.mario li:nth-child(12) img:nth-child(5) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(6) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(7) {background: var(--Hoka);}
.mario li:nth-child(12) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(10) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(11) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(12) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(13) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(14) {background: var(--Fuku);}
.mario li:nth-child(12) img:nth-child(15) {background: var(--Hoka);}
.mario li:nth-child(12) img:nth-child(16) {background: var(--Hoka);}


/*13行目*/
.mario li:nth-child(13) img:nth-child(1) {background: none;}
.mario li:nth-child(13) img:nth-child(2) {background: var(--Hada);}
.mario li:nth-child(13) img:nth-child(3) {background: var(--Hada);}
.mario li:nth-child(13) img:nth-child(4) {background: none;}
.mario li:nth-child(13) img:nth-child(5) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(6) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(7) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(10) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(11) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(12) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(13) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(14) {background: var(--Fuku);}
.mario li:nth-child(13) img:nth-child(15) {background: var(--Hoka);}
.mario li:nth-child(13) img:nth-child(16) {background: var(--Hoka);}


/*14行目*/
.mario li:nth-child(14) img:nth-child(1) {background: none;}
.mario li:nth-child(14) img:nth-child(2) {background: none;}
.mario li:nth-child(14) img:nth-child(3) {background: none;}
.mario li:nth-child(14) img:nth-child(4) {background: var(--Hoka);}
.mario li:nth-child(14) img:nth-child(5) {background: var(--Hoka);}
.mario li:nth-child(14) img:nth-child(6) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(7) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(10) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(11) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(12) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(13) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(14) {background: var(--Fuku);}
.mario li:nth-child(14) img:nth-child(15) {background: var(--Hoka);}
.mario li:nth-child(14) img:nth-child(16) {background: var(--Hoka);}


/*15行目*/
.mario li:nth-child(15) img:nth-child(1) {background: none;}
.mario li:nth-child(15) img:nth-child(2) {background: none;}
.mario li:nth-child(15) img:nth-child(3) {background: var(--Hoka);}
.mario li:nth-child(15) img:nth-child(4) {background: var(--Hoka);}
.mario li:nth-child(15) img:nth-child(5) {background: var(--Fuku);}
.mario li:nth-child(15) img:nth-child(6) {background: var(--Fuku);}
.mario li:nth-child(15) img:nth-child(7) {background: var(--Fuku);}
.mario li:nth-child(15) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(15) img:nth-child(9) {background: var(--Fuku);}
.mario li:nth-child(15) img:nth-child(10) {background: var(--Fuku);}
.mario li:nth-child(15) img:nth-child(11) {background: var(--Fuku);}
.mario li:nth-child(15) img:nth-child(12) {background: none;}
.mario li:nth-child(15) img:nth-child(13) {background: none;}
.mario li:nth-child(15) img:nth-child(14) {background: none;}
.mario li:nth-child(15) img:nth-child(15) {background: none;}
.mario li:nth-child(15) img:nth-child(16) {background: none;}


/*15行目*/
.mario li:nth-child(16) img:nth-child(1) {background: none;}
.mario li:nth-child(16) img:nth-child(2) {background: var(--Hoka);}
.mario li:nth-child(16) img:nth-child(3) {background: var(--Hoka);}
.mario li:nth-child(16) img:nth-child(4) {background: var(--Hoka);}
.mario li:nth-child(16) img:nth-child(5) {background: var(--Fuku);}
.mario li:nth-child(16) img:nth-child(6) {background: var(--Fuku);}
.mario li:nth-child(16) img:nth-child(7) {background: var(--Fuku);}
.mario li:nth-child(16) img:nth-child(8) {background: var(--Fuku);}
.mario li:nth-child(16) img:nth-child(9) {background: none;}
.mario li:nth-child(16) img:nth-child(10) {background: none;}
.mario li:nth-child(16) img:nth-child(11) {background: none;}
.mario li:nth-child(16) img:nth-child(12) {background: none;}
.mario li:nth-child(16) img:nth-child(13) {background: none;}
.mario li:nth-child(16) img:nth-child(14) {background: none;}
.mario li:nth-child(16) img:nth-child(15) {background: none;}
.mario li:nth-child(16) img:nth-child(16) {background: none;}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.