-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
146 lines (132 loc) · 2.74 KB
/
styles.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: rgb(95, 95, 95);
}
/*.content {
height: 100vh;
width: 70vw;
margin: 0;
padding: 1rem;
background-color: rgb(248, 248, 248);
margin: auto;
}*/
#test {
position: relative;
width: 50%;
padding-bottom: 50%; /* 1:1 Aspect Ratio */
border-radius: 100000px;
box-shadow: 0px 0px 30px black;
border: none;
background-color: black;
/* background: radial-gradient(rgb(95, 95, 95), black 75%); */
/* background: radial-gradient(black, rgb(95, 95, 95) ); */
transition: all 0.1s ease-in-out;
}
#test:hover{
box-shadow: 0px 0px 0px black;
/*background-color: black;*/
}
#test > canvas {
/* animation: rotates 10s linear infinite; */
position: absolute;
}
.container{
max-width: 80rem;
margin: 0 auto;
padding: 0 1.4rem;
}
.container--center{
display: flex;
justify-content: center;
align-items: center;
}
.main {
height: 100vh;
}
/*
.kaleidos {
position: relative;
width: 500px;
height: 500px;
border-radius: 100000px;
overflow: hidden;
background-color: rgb(95, 95, 95);
}
.wrapper {
position: absolute;
height: 50%;
width: 50%;
clip-path: polygon(0 0, 43% 0, 100% 98%, 100% 100%, 98% 100%, 0 43%);
transform-origin: 100% 100%;
}
.elem-1 .wrapper {
transform: rotate(0deg);
}
.elem-2 .wrapper {
transform: rotate(30deg);
}
.elem-3 .wrapper {
transform: rotate(60deg);
}
.elem-4 .wrapper {
transform: rotate(90deg);
}
.elem-5 .wrapper {
transform: rotate(120deg);
}
.elem-6 .wrapper {
transform: rotate(150deg);
}
.elem-7 .wrapper {
transform: rotate(180deg);
}
.elem-8 .wrapper {
transform: rotate(210deg);
}
.elem-9 .wrapper {
transform: rotate(240deg);
}
.elem-10 .wrapper {
transform: rotate(270deg);
}
.elem-11 .wrapper {
transform: rotate(300deg);
}
.elem-12 .wrapper {
transform: rotate(330deg);
}
.bg {
transform: translate(-25%,-25%);
width: 500px;
height: 500px;
background: url(nugget.png) 0 0 repeat;
animation: test 20s linear infinite;
transform-origin: 50% 50%;
}
@keyframes slide{
0%{
transform: translate3d(0, 0, 0);
}
100%{
transform: translate3d(-300px, 0, 0);
}
}
*/
@keyframes rotates{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
}
}
/* @keyframes test {
from{
transform: translate(-50%,-50%) rotate(0deg) rotate(0deg) translateX(25%) rotate(0deg);
}
to{
transform: translate(-50%,-50%) rotate(360deg) rotate(360deg) translateX(25%) rotate(-360deg) ;
}
} */