style edits

main
Boyana 1 year ago
parent fc327086b9
commit ae3ec7b090

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 MiB

@ -20,7 +20,7 @@ questions.onreadystatechange = function() {
questions.send(); questions.send();
function preload(){ function preload(){
img=loadImage('wheel.svg'); img=loadImage('wheel1.svg');
} }
function setup() { function setup() {
var canvas = createCanvas(windowWidth/2, windowHeight/2); var canvas = createCanvas(windowWidth/2, windowHeight/2);

@ -2,7 +2,7 @@ html {
position: relative; /* Make the html element a positioned parent */ position: relative; /* Make the html element a positioned parent */
} }
html::before { /* Add a pseudo-element to the html element */ html::before { /* Add a pseudo-element to the html element */
content: ""; content: "";
position: fixed; position: fixed;
width: 200vw; width: 200vw;
@ -12,8 +12,8 @@ html {
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: -1; /* Set a negative z-index to move the pseudo-element below the content */ z-index: -1; /* Set a negative z-index to move the pseudo-element below the content */
background: url(bg-images/bg2.jpg) no-repeat center center fixed; background: url(bg-images/bg4.jpg) no-repeat center center fixed;
background-size: 100%; background-size: cover;
/* Add animation properties */ /* Add animation properties */
-webkit-animation: spin 100s linear infinite; -webkit-animation: spin 100s linear infinite;
@ -40,7 +40,7 @@ html {
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
.top-left-corner{ .top-left-corner{
position: fixed; position: fixed;
top: 0px; top: 0px;
@ -88,7 +88,7 @@ html {
} }
button{ button{
color:antiquewhite; color:black;
background-color:cyan; background-color:cyan;
position: center; position: center;
top:6%; top:6%;

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Loading…
Cancel
Save