-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewcss.css
More file actions
110 lines (105 loc) · 2.44 KB
/
newcss.css
File metadata and controls
110 lines (105 loc) · 2.44 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
*, *::before, *::after {
box-sizing: border-box;
}
body {
margin: 0;
background: Black;
font: 400 1em/1.5 "Neuton";
text-align: center;
margin: 0;
}
.shape {
margin: 0 auto;
aspect-ratio: 1;
position: relative;
--width: 100%;
--scale: 1;
--opacity: 0.66;
--top: 0;
--left: 0;
--path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
--background: linear-gradient(hotpink, red, orange, yellow, hotpink);
--offset: 0deg;
--speed: 8000ms;
clip-path: var(--path);
background: var(--background);
scale: var(--scale);
opacity: var(--opacity);
width: var(--width);
top: var(--top);
left: var(--left);
rotate: var(--offset);
mix-blend-mode: difference;
animation: turn var(--speed) linear forwards infinite;
}
@keyframes turn {
to {
rotate: calc(var(--offset) + 1turn);
}
}
.blur-container {
--blur: 40px;
filter: blur(var(--blur));
height: 50vh;
width: 100%;
display: grid;
overflow: hidden;
}
.blur-container > * {
grid-column: -1;
grid-row: -1;
}
#newstuff{
width: 100%;
align-items: center;
justify-content: center;
}
#mynew p {
text-transform: uppercase;
color: aliceblue;
letter-spacing: 0.5em;
display: inline-block;
/* border: 4px double rgba(248, 242, 242, 0.25); */
/* border: 20%; */
border-width: 4px 0;
padding: 1.5em 0em;
position: absolute;
top: 35%;
right: 0%;
width: 100%;
/* margin: 0 0 0 -10em; */
}
@media screen and (min-width: 1024px) {
#mynew p {
left: 50%;
transform: translateX(-50%);
}
}
#mynew p span {
font: 700 4em "Oswald", sans-serif;
letter-spacing: 0;
padding: 0.25em 0 0.325em;
display: block;
/* width: 100%; */
margin: 0 auto;
text-shadow: 0 0 80px rgba(255, 255, 255, .5);
/* Clip Background Image */
background: url(https://i.ibb.co/RDTnNrT/animated-text-fill.png) repeat-y;
-webkit-background-clip: text;
background-clip: text;
/* Animate Background Image */
-webkit-text-fill-color: transparent;
-webkit-animation: aitf 80s linear infinite;
/* Activate hardware acceleration for smoother animations */
-webkit-transform: translate3d(0, 0, 0);
-webkit-backface-visibility: hidden;
}
/* Animate Background Image */
@-webkit-keyframes aitf {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}