Last active
December 12, 2023 13:43
-
-
Save mateuszsokola/77b0903d8ae35a5e7249a42261585fb1 to your computer and use it in GitHub Desktop.
2048-in-react
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.score { | |
width: var(--pixel-size) * 75; | |
background: var(--secondary-background); | |
border: var(--pixel-size) solid var(--secodary-background); | |
border-radius: calc(var(--pixel-size) * 0.75); | |
color: var(--tile-background); | |
font-weight: bold; | |
font-size: calc(var(--pixel-size) * 2); | |
text-align: center; | |
text-transform: uppercase; | |
} | |
.score > div { | |
font-size: calc(var(--pixel-size) * 3.5); | |
color: var(--primary-background); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment