mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
responsive design done
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
.defeat, .victory {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
@@ -11,7 +12,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
font-size: 80pt;
|
||||
font-size: 7vw;
|
||||
|
||||
background-color: rgba(0, 0, 0, 0.775);
|
||||
|
||||
@@ -29,4 +30,13 @@
|
||||
|
||||
.victory {
|
||||
color: rgb(88, 255, 107);
|
||||
}
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
|
||||
.defeat, .victory {
|
||||
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user