-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
116 lines (103 loc) · 1.98 KB
/
index.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@import url("https://fonts.googleapis.com/css?family=Poppins:400,700,900");
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family:'Poppins', Courier, monospace;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: url('ok.jpg') no-repeat;
background-size: cover;
}
header{
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 20px 100px;
background: #220901;
color: #fff;
font-weight: bold;
font-size: 2.5em;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 99;
}
@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
.cherry {
position: absolute;
margin: 30px 30px 30px 100px;
}
.cherry h2 {
color: #fff;
font-size: 8em;
position: absolute;
transform: translate(-50%, -50%);
}
.cherry h2:nth-child(1) {
color: #220901;
-webkit-text-stroke: 2px #fff;
}
.cherry h2:nth-child(2) {
color: #F6AA1C;
animation: animate 4s ease-in-out infinite;
}
@keyframes animate {
0%,
100% {
clip-path: polygon(
0% 45%,
16% 44%,
33% 50%,
54% 60%,
70% 61%,
84% 59%,
100% 52%,
100% 100%,
0% 100%
);
}
50% {
clip-path: polygon(
0% 60%,
15% 65%,
34% 66%,
51% 62%,
67% 50%,
84% 45%,
100% 46%,
100% 100%,
0% 100%
);
}
}
button{
position: static;
padding: 10px 20px;
background-color: #220901;
color: #fff;
font-weight: 300;
font-size: 20px;
text-decoration: none;
width: 380px;
border-radius: 25px;
border-style: none;
margin-top: 320px;
box-shadow: 0 5px 8px 2px #48422d;
transition: 0.3s all ease-in-out;
transition: 0.5s box-shadow ease-in-out;
}
button:hover {
background-color: #F6AA1C;
color: #220901;
box-shadow: 0 0 12px 2px #262521;
}
.ion-icon {
margin: 3px;
font-weight: bold;
}