Howard.Zuo fff1ffaab8
Example of function memory game (#2255)
* 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
2022-01-12 18:40:38 +05:00

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;
}
}