mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* example of function memory game * refactor: remove unnecessary manual PartialEq implementation * refactor: remove unnecessary license note * refactor: update implementation and doc with suggestions * refactor: fix format and lint issues
29 lines
514 B
SCSS
29 lines
514 B
SCSS
.chess-board {
|
|
margin-top: 20px;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
height: 530px;
|
|
border-radius: 4px;
|
|
padding: 10px 5px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-content: space-around;
|
|
.chess-board-card-container:nth-child(4n) {
|
|
margin-right: 0px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 450px) {
|
|
.chess-board {
|
|
height: 480px;
|
|
padding: 10px 0px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 370px) {
|
|
.chess-board {
|
|
height: 450px;
|
|
}
|
|
}
|