-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubpage.css
63 lines (54 loc) · 1.02 KB
/
subpage.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
/* swirl background */
*{
z-index: 10;
}
#circle_sub {
height: 400px;
width: 500px;
background-color: #B875FF;
border-radius: 50%;
position: sticky;
float: right;
margin-top: -300px;
margin-right: -5px;
justify-content: center;
justify-items: center;
justify-self: center;
text-align: center;
}
#circle2_sub {
height: 200px;
width: 300px;
background-color: #B875FF;
border-radius: 50%;
position: sticky;
float: right;
margin-top: -200px;
margin-right: -105px;
justify-content: center;
justify-items: center;
justify-self: center;
text-align: center;
}
#swirlText:hover {
animation: spin 2s linear;
}
@keyframes spin{
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
div.rotate_sub {
transform: rotate(-5deg);
margin-top: 80px;
font-size: 45px;
font-weight: bold;
color: white;
}
div.rotate_sub:hover {
color: #5D5031;
transition-duration: 0.5s;
}