-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
55 lines (52 loc) · 1001 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
49
50
51
52
53
54
55
html {
box-sizing: border-box;
}
body {
margin: 0;
background-color: #45badd;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
background-size: contain;
background-image: url(robot.gif);
background-repeat: no-repeat;
background-position: left center;
}
button {
border: none;
outline: none;
border-radius: 7px;
width: 15rem;
height: 4rem;
background: #ff3482;
font-family: 'Courier New', Courier, monospace;
font-size: 1.2rem;
color: white;
box-shadow: 2px 2px 20px 10px rgba(0,0,0,0.2);
cursor: pointer;
}
button:hover{
filter:brightness(90%);
}
button:active{
transform: scale(95%);
}
button:disabled{
cursor: default;
filter: brightness(30%);
}
/* Media query */
@media screen and (max-width: 1000px) {
.container {
background-size: cover;
background-position: center center;
}
button {
box-shadow: 5px 5px 30px 20px rgba(0,0,0,0.5);
}
}