-
Notifications
You must be signed in to change notification settings - Fork 0
/
cookie.css
79 lines (67 loc) · 1.37 KB
/
cookie.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
76
77
78
79
.cookie {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-wrap: wrap;
background-color: #f2f2f2;
padding: 20px;
font-size: 14px;
color: #777;
z-index: 4;
}
.cookie p {
flex-basis: 100%;
text-align: center;
box-sizing: border-box;
padding-right: 50px;
padding-left: 20px;
}
#acceptBtn, #discardBtn{
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: white;
background-color: #171717;
padding: 1em 2em;
border: none;
border-radius: .6rem;
position: relative;
cursor: pointer;
overflow: hidden;
}
button span:not(:nth-child(6)) {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
height: 30px;
width: 30px;
background-color: #0c66ed;
border-radius: 50%;
transition: .6s ease;
}
button span:nth-child(6) {
position: relative;
}
button span:nth-child(1) {
transform: translate(-3.3em, -4em);
}
button span:nth-child(2) {
transform: translate(-6em, 1.3em);
}
button span:nth-child(3) {
transform: translate(-.2em, 1.8em);
}
button span:nth-child(4) {
transform: translate(3.5em, 1.4em);
}
button span:nth-child(5) {
transform: translate(3.5em, -3.8em);
}
button:hover span:not(:nth-child(6)) {
transform: translate(-50%, -50%) scale(4);
transition: 1.5s ease;
}