-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRootStyle.css
More file actions
107 lines (102 loc) · 2.04 KB
/
Copy pathRootStyle.css
File metadata and controls
107 lines (102 loc) · 2.04 KB
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
@charset "UTF-8";
/* https://jigsaw.w3.org/css-validator/validator.html.en#validate_by_upload */
/* All CSS code pass the W3C CSS Validation */
body {
margin: 0;
padding: 0;
}
.greeting{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
font-size: 70px;
color: #fff;
font-weight: 900;
font-family: "Helvetica", sans-serif;
color:rgba(24,117,255,0.5);
text-shadow:1px 3px 6px #fff,0 0 0 rgba(0, 0, 0,0.6),1px 3px 6px #fff;
z-index: -1;
}
/* the root button */
.root-button {
color: #fff;
font-size: 70px;
font-weight: 900;
display: inline-block;
border-radius: 45%;
border: none;
background: rgba(24, 117, 255,0.1);
box-shadow: 0px 14px 56px -11px #1875FF;
width: 500px;
height: 500px;
padding: 1em;
cursor: pointer;
}
/* the root button hover effect */
.root-button:hover {
transform: rotate(1440deg);
transition: all 16s linear;
color: #000;
}
/* the root button text */
.title{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
z-index: 1;
}
.background_frame{
position:fixed;
top: 0;
left: 0;
width:100%;
height:100%;
min-width: 1000px;
z-index:-10;
}
.background {
position: relative;
z-index: -1;
min-height: 100vh;
background-color: rgb(118, 218, 255);
overflow: hidden;
}
/* add two pseudo elements to create the background effect */
.background:before,
.background:after {
content: "";
position: absolute;
left: 50%;
min-width: 300vw;
min-height: 300vw;
background-color: #fff;
animation-name: rotate;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
.background:before {
bottom: 15vh;
border-radius: 45%;
animation-duration: 9s;
}
.background:after {
bottom: 12vh;
opacity: .5;
border-radius: 47%;
animation-duration: 9s;
}
@keyframes rotate {
0% {
transform: translate(-50%, 0) rotateZ(0deg);
}
50% {
transform: translate(-50%, -2%) rotateZ(180deg);
}
100% {
transform: translate(-50%, 0%) rotateZ(360deg);
}
}