-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (114 loc) · 2.03 KB
/
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
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
117
118
119
120
121
122
123
124
125
126
@font-face {
font-family: InfoFont;
src: url(Caveat-SemiBold.ttf);
}
@font-face {
font-family: WelcomeFont;
src: url(Salting-Free.ttf);
}
.icon{
position: absolute;
top: 0;
padding: 15px;
background-color: rgba(0,0,0,0);
}
#i1{
left: 10%;
}
#i2{
right: 10%;
}
.welcome{
position: absolute;
top: 40%;
left: 10%;
right: 10%;
color: #fff;
background-color: #5bc0de;
border-color: #46b8da;
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 10px;
text-align: center;
font-family: WelcomeFont;
font-size: 96px;}
.welcome:hover{
background: rgba(0,0,0,0);
transition: all 0.5s ease-in-out;
}
body{
background: linear-gradient(
172.3deg,
rgba(150, 93, 233, 1) 10.8%,
rgba(91, 192, 222, 1) 94.3%
);
}
.info{
position: absolute;
top: 40%;
left: 10%;
right: 10%;
color: #fff;
background-color: #5bc0de;
border-color: #46b8da;
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 10px;
text-align: center;
font-family: InfoFont;
font-size: 48px;
}
/* BUTTON */
.button {
position: relative;
overflow: hidden;
height: 6rem;
padding: 0 2rem;
border-radius: 3rem;
background: #46b8da;
background-size: 400%;
color: #fff;
border: none;
}
.button:hover::before {
transform: scaleX(1);
}
.button-content {
position: relative;
font-size: 5rem;
z-index: 1;
font-family: WelcomeFont;
}
.button::before {
content: '';
position: absolute;
top: 0;
left: 0;
transform: scaleX(0);
transform-origin: 0 50%;
width: 100%;
height: inherit;
border-radius: inherit;
background: linear-gradient(
172.3deg,
rgba(150, 93, 233, 1) 10.8%,
rgba(91, 192, 222, 1) 94.3%
);
transition: all 0.6s cubic-bezier(0.5, 0, 0.5, 1);
}
#button{
position: absolute;
top: 80%;
left: 20%;
}
.fin{
position: absolute;
bottom: 0;
text-align: center;
width: 100%;
font-size: 1.5rem;
font-family: InfoFont;
color: rgb(137, 64, 247);
}