test
This commit is contained in:
parent
2f82da727c
commit
a5f4b6327e
46
index.html
46
index.html
@ -28,28 +28,34 @@
|
|||||||
<a hidden href='/sitemap.html'><button class="button">Sitemap</button></a>
|
<a hidden href='/sitemap.html'><button class="button">Sitemap</button></a>
|
||||||
</body>
|
</body>
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html {
|
||||||
width: 100%;
|
--s:67px; /* shape size */
|
||||||
height:100%;
|
--m:4px; /* line thickness */
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
--v1: #fff 119.5deg, #0000 120.5deg;
|
||||||
background: linear-gradient(-45deg, #1700e6, #00e5ff, #00ff1e, #38904e);
|
--v2: #000 119.5deg, #0000 120.5deg;
|
||||||
background-size: 400% 400%;
|
background:
|
||||||
animation: gradient 15s ease infinite;
|
conic-gradient(at var(--m) calc(var(--s)*0.5777), transparent 270deg, #000 0deg),
|
||||||
}
|
conic-gradient(at calc(100% - var(--m)) calc(var(--s)*0.5777), #000 90deg, transparent 0deg),
|
||||||
|
conic-gradient(from -60deg at 50% calc(var(--s)*0.8662) , var(--v1)),
|
||||||
|
conic-gradient(from -60deg at 50% calc(var(--s)*0.8662 + 2*var(--m)), var(--v2)),
|
||||||
|
conic-gradient(from 120deg at 50% calc(var(--s)*1.4435 + 3*var(--m)), var(--v1)),
|
||||||
|
conic-gradient(from 120deg at 50% calc(var(--s)*1.4435 + var(--m)), var(--v2)),
|
||||||
|
linear-gradient(90deg, #fff calc(50% - var(--m)),#000 0 calc(50% + var(--m)), #fff 0);
|
||||||
|
background-size: calc(var(--s) + 2*var(--m)) calc(var(--s)*1.732 + 3*var(--m));
|
||||||
|
mix-blend-mode:lighten;
|
||||||
|
}
|
||||||
|
html:before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background:linear-gradient(90deg,red,blue,green) left/400% 100%;
|
||||||
|
animation:f 2s infinite alternate linear;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes gradient {
|
@keyframes f {
|
||||||
0% {
|
100% {background-position:right}
|
||||||
background-position: 0% 50%;
|
}
|
||||||
}
|
|
||||||
50% {
|
|
||||||
background-position: 100% 50%;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
background-position: 0% 50%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
ul {
|
ul {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user