Add background images to buttons
This commit is contained in:
parent
932dad8728
commit
b5f29e21c7
1 changed files with 22 additions and 0 deletions
22
style.css
22
style.css
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue