-
Notifications
You must be signed in to change notification settings - Fork 0
/
border.css
62 lines (55 loc) · 1.28 KB
/
border.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
body {
margin: 0;
padding: 0;
background: #232323;
}
.box {
position: relative;
margin-left:40%;
margin-top:15%;
width:400px;
background: linear-gradient(70deg,#000000,#3b3131);
height: 400px;
}
.box h1 {
color: transparent;
text-transform: uppercase;
font-family:Calibri;
font-style:bold;
position: absolute;
text-align: center;
margin-left: 20%;
margin-top: 40%;
background-image: linear-gradient(45deg,#57ffb6,#290092,#28ff44,#ffd800,#00ff21,#00ff90);
background-size: 400%;
background-clip: text;
-webkit-background-clip: text;
animation: animate 7s linear infinite;
}
.box::before, .box::after{
content:'';
margin-left:-5px;
margin-top:-5px;
position:absolute;
background-image:linear-gradient(70deg,#ffd800,#00ff21,#00ff90,#ff006e,#ff6a00,#4800ff,#ffd800,#ff0000,#00ffff,#0026ff);
width:410px;
height:410px;
background-size:400%;
z-index:-1;
animation:animate 20s linear infinite;
}
@keyframes animate{
0% {
background-position: 0 0;
}
50% {
background-position:400% 0;
}
100% {
background-position:0 0;
}
}
.box::after{
filter:blur(30px);
}