added transition when pressing buttons

This commit is contained in:
8BitBiscotti
2024-12-13 09:49:38 +01:00
parent 515cc107ab
commit 41268fba3c
6 changed files with 78 additions and 44 deletions
+9 -5
View File
@@ -1,10 +1,6 @@
body {
height: 100vh;
background-image: radial-gradient(
circle at center 50%,
#62007f 0%,
#0d0035 100%);
background-position: 0% 10vh;
background-color: #323232;
overflow: hidden;
margin: 0%;
}
@@ -26,4 +22,12 @@ body {
aspect-ratio: 1 / 1;
image-rendering: pixelated;
transform: translate(-50%, -50%);
}
#mainDiv {
background-position: 0% 10vh;
background-image: radial-gradient(
circle at center 50%,
#62007f 0%,
#0d0035 100%);
height: 100vh;
}