Jump to content

Module:Sandbox/Bawolff/Chessboard/animate.css

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Bawolff (talk | contribs) at 12:57, 21 January 2025. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
.chessboard.animate .nonknight {
	transition: left 0.1s linear, top 0.1s linear
}
.chessboard.animate .knight {
	transition: left 0.05s linear, top 0.05s 0.05s linear
}

.chessboard.animate table {
	transition: transform 0.2s
}

.chessboard table.calculator-value-true {
	transform: rotate(180deg)
}
.chessboard table.calculator-value-true td .chess-pieces img, .chessboard table.calculator-value-true td.boardlabel {
	transform: rotate(180deg)
}