forked from Balaguru4580/floatpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSSfile.css
More file actions
123 lines (107 loc) · 2.18 KB
/
CSSfile.css
File metadata and controls
123 lines (107 loc) · 2.18 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
html{
width: 100%;
height: 100%;
}
.text{
animation-duration: 2s;
animation-name: float;
animation-iteration-count: infinite; /*How many times it should run */
animation-timing-function: ease-in-out; /* Style of animation */
text-align: center; /* Keeps the text in the center width wise */
z-index: 2;
position: relative;
top: -74%;
font-family: 'Hammersmith One', sans-serif;
font-size: 60px;
}
body{
background-color: rgb(13, 7, 48);
width: auto;
height: 100%;
display: flex;
flex-flow: row wrap;
justify-content: flex-end;
}
h1, p{
font-family: "Hammersmith One";
}
.header{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 70px;
background-color: rgb(52, 0, 121);
display: block;
}
.setting{
width: 50px;
height: 50px;
float: left;
}
.centerhead{
width: 750px;
height: 100%;
margin: 0 auto;
display: block;
}
.content{
margin-top: 160px;
margin-left: 40px;
color: white;
display: block;
font-size: xx-large;
width: 500px;
}
.animations{
margin: auto;
display: flexbox;
flex-direction: column wrap;
width: 500px;
height: 500px;
margin-right: 0;
}
.logo{
font-family: 'Hammersmith One', sans-serif;
font-size: 50px;
color:whitesmoke;
display: block;
text-align: center;
width: auto;
position: sticky;
margin-top: 10px;
}
.yinyang{
width: 200px;
height: 200px;
z-index: 999;
position: relative;
scale: 1.5;
}
.platform{
width: 300px;
height: 300px;
z-index: -1;
scale:2;
}
.off{
position: absolute;
margin-top: 100px;
width: 100px;
height: 50px;
background-color: blue ;
text-align: center;
color: aliceblue;
}
/* These indicate what property the object should have at specific points in the cycle. No longer used thanks to GSAP. */
@keyframes float {
0% { transform: translate(0, 0px); }
50% { transform: translate(0px, -10px); }
100% { transform: translate(0px, 0px); }
}
@keyframes float-advanced {
0% { transform: translate(0, 0px); }
50% { transform: translate(0px, -10px); rotate: 5deg; scale: 1.5;}
75% {rotate: -5deg;}
100% { transform: translate(0px, 0px); }
}