-
Notifications
You must be signed in to change notification settings - Fork 0
/
project8.css
112 lines (105 loc) · 2.32 KB
/
project8.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
@keyframes blink{
0%{opacity: 1;}
50%{opacity: 0;}
100%{opacity: 1;}
}
@keyframes rot{
from{transform: translate(-50%,-50%) rotate(0deg);}
to{transform: translate(-50%,-50%) rotate(360deg);}
}
body{
background: linear-gradient(white,rgb(190, 190, 190));
background-repeat: no-repeat;
background-attachment: fixed;
}
#left{
position: fixed;
left: -45%;
height: 100%;
width: 50%;
background-color: pink;
filter: blur(20px);
opacity: 0.4;
transition: 4s;
z-index: 1;
}
#right{
position: fixed;
left: 95%;
height: 100%;
width: 50%;
background-color: pink;
filter: blur(20px);
opacity: 0.4;
transition: 4s;
z-index: 1;
}
#top{
position: fixed;
top: -45%;
height: 50%;
width: 100%;
background-color: pink;
filter: blur(20px);
opacity: 0.4;
transition: 4s;
z-index: 1;
}
#bottom{
position: fixed;
top: 95%;
height: 50%;
width: 100%;
background-color: pink;
filter: blur(20px);
opacity: 0.4;
transition: 4s;
z-index: 1;
}
#cont{
position: fixed;
width: 100%;
height: 100%;
z-index: 100;
}
.circle{
position: fixed;
width: 100px;
height: 100px;
border-radius: 50%;
background: radial-gradient(rgb(155, 101, 0),rgb(189, 123, 0),orange,rgb(255, 215, 141),rgb(255, 235, 199));
transform: translate(-50%,-50%);
animation: blink 2s infinite;
}
.triangle{
position: fixed;
border-top: 50px solid transparent;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
transform: translate(-50%,-50%);
animation: blink 2s infinite, rot 10s infinite;
}
.square{
position: fixed;
width: 100px;
height: 100px;
background: radial-gradient(rgb(155, 101, 0),rgb(189, 123, 0),orange,rgb(255, 215, 141),rgb(255, 235, 199));
transform: translate(-50%,-50%);
border-radius: 15%;
animation: blink 2s infinite, rot 10s infinite;
}
#circle{
top: 50%;
left: 50%;
}
#circle::after{
content: "";
width: 100px;
height: 100px;
border-radius: 50%;
background: orange;
position: fixed;
opacity: 0.9;
filter: blur(30px);
animation: blink 2s infinite;
}