Add background images to buttons

This commit is contained in:
lolabird 2023-12-31 16:02:51 -07:00
commit b5f29e21c7

View file

@ -32,10 +32,32 @@ main {
.button { .button {
width: 200px; width: 200px;
height: 200px;
margin: 5px; margin: 5px;
font-size: 30px; font-size: 30px;
} }
#rock {
background-image: url("./images/rocks-576653_640.png");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
#paper {
background-image: url("./images/certificate-154169_640.png");
background-size: contain;
background-repeat: no-repeat;
background-position-x: center;
}
#scissors {
background-image: url("./images/school-1555907_640.png");
background-size: contain;
background-repeat: no-repeat;
background-position-x: center;
}
.score { .score {
display: flex; display: flex;
justify-content: center; justify-content: center;