reverse all piece images when board is reversed, not just knights
This commit is contained in:
parent
eb25bb31d2
commit
1f0442cadb
|
|
@ -393,7 +393,7 @@ img.cb-lt-piece.cb-knight { content: url(../svg/Chess_nlt45.svg); }
|
||||||
img.cb-lt-piece.cb-bishop { content: url(../svg/Chess_blt45.svg); }
|
img.cb-lt-piece.cb-bishop { content: url(../svg/Chess_blt45.svg); }
|
||||||
img.cb-lt-piece.cb-pawn { content: url(../svg/Chess_plt45.svg); }
|
img.cb-lt-piece.cb-pawn { content: url(../svg/Chess_plt45.svg); }
|
||||||
|
|
||||||
#cb_board.cb-reversed img.cb-knight {
|
#cb_board.cb-reversed img {
|
||||||
-webkit-transform: scaleX(-1);
|
-webkit-transform: scaleX(-1);
|
||||||
transform: scaleX(-1);
|
transform: scaleX(-1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue