Skip to content

Instantly share code, notes, and snippets.

@nishantrpai
Created November 24, 2025 05:26
Show Gist options
  • Select an option

  • Save nishantrpai/0b4a71c4f9845eb8addd6f695afaf12b to your computer and use it in GitHub Desktop.

Select an option

Save nishantrpai/0b4a71c4f9845eb8addd6f695afaf12b to your computer and use it in GitHub Desktop.
opepen chess set for lichess
/* black pieces */
.black.rook {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/bR.png");
}
.black.knight {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/bN.png");
}
.black.bishop {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/bB.png");
}
.black.queen {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/bQ.png");
}
.black.king {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/bK.png");
}
.black.pawn {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/bP.png");
}
/* white pieces */
.white.rook {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/wR.png");
}
.white.knight {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/wN.png");
}
.white.bishop {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/wB.png");
}
.white.queen {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/wQ.png");
}
.white.king {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/wK.png");
}
.white.pawn {
background-image: url("https://opepenremixed.xyz/chess/assets/pieces/wP.png");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment