-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackgroundChanger.css
75 lines (67 loc) · 1.25 KB
/
backgroundChanger.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
* {
margin: 0;
padding: 0;
}
body {
background-color: #808080;
}
.container {
text-align: center;
position: absolute;
width: 100%;
top: 50%;
transform: translateY(-50%);
}
.text {
background-color: rgba(0, 0, 0, 0.582);
color: white;
font-family: sans-serif;
font-size: 3rem;
padding: 10px;
text-align: center;
text-shadow: 0 0 5px rgb(0, 0, 0);
}
span {
color: rgb(3, 2, 41);
text-shadow: 0 0 5px white;
font-weight: bold;
cursor: pointer;
}
button {
padding: 10px;
border: 3px solid #000;
border-radius: 6px;
font-size: 1rem;
background-color: rgb(255, 255, 255);
color: #000;
margin-top: 20px;
outline: none;
cursor: pointer;
transition: all 0.3s;
}
button:hover {
background-color: #000;
color: #fff;
}
.copied {
position: absolute;
color: white;
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
animation-name: getBigger;
animation-duration: 900ms;
background-color: rgba(0, 0, 0, 0.575);
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes getBigger {
from {
font-size: 2rem;
}
to {
font-size: 8rem;
}
}