chessground
Version:
Multipurpose chess UI, for lichess.org web and mobile
17 lines (16 loc) • 309 B
CSS
.cg-square.selected {
background: rgba(216, 85, 0, 0.3);
}
.cg-piece.dragging {
width: 200%;
height: 200%;
top: -22.5px;
left: -22.5px;
}
#cg-square-target {
position: absolute;
background-color: rgba(0, 0, 0, 0.2);
border-radius: 50%;
-webkit-transform: translate3d(0,0,0);
z-index: 9;
}