UNPKG

onix-chess-game

Version:
17 lines (15 loc) 334 B
.captures .no-square { position: relative; transition: all 150ms; } .captures .no-square > div { position: relative; display: block; height: 0; padding-bottom: 100%; width: 100%; } .captures [data-kind="piece"] { display: block; cursor: pointer; pointer-events: auto; width: 100%; height: 100%; }