-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
48 lines (47 loc) · 978 Bytes
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
html{
box-sizing: border-box;
}
body{
margin: 0;
background: #45badd;
}
.container{
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: url(./robot.gif);
background-size: contain;
background-position: left center;
background-repeat: no-repeat;
}
button{
cursor: pointer;
outline: none;
width: 180px;
height: 50px;
font-family: 'Courier New', Courier, monospace;
font-size: 17px;
color: white;
background: #ff3482;
border: none;
border-radius: 6px;
box-shadow: 2px 2px 20px 9px rgba(0, 0, 0, 0.4);
}
button:hover{
filter: brightness(95%);
}
button:active{
transform: scale(0.98);
}
@media screen and (max-width:1000px) {
.container{
background-position: center center;
background-size: cover;
}
button{
box-shadow: 2px 2px 20px 9px rgba(0, 0, 0, 0.8);
}
}