„css/skeleton-auto.css“ ändern
This commit is contained in:
parent
c58afb41d1
commit
14417e182c
@ -259,3 +259,47 @@ hr {
|
|||||||
url('../fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-800.ttf') format('truetype'), /* Safari, Android, iOS */
|
url('../fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-800.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||||
url('../fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-800.svg#OpenSans') format('svg'); /* Legacy iOS */
|
url('../fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-800.svg#OpenSans') format('svg'); /* Legacy iOS */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@keyframes rotate {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.gradient {
|
||||||
|
--size: 250px;
|
||||||
|
--speed: 50s;
|
||||||
|
--easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);
|
||||||
|
|
||||||
|
width: var(--size);
|
||||||
|
height: var(--size);
|
||||||
|
filter: blur(calc(var(--size) / 5));
|
||||||
|
background-image: linear-gradient(hsl(158, 82, 57, 85%), hsl(252, 82, 57));
|
||||||
|
animation: rotate var(--speed) var(--easing) alternate infinite;
|
||||||
|
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 720px) {
|
||||||
|
.gradient {
|
||||||
|
--size: 500px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #222;
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
display: flex;
|
||||||
|
place-content: center;
|
||||||
|
align-items: center;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* This is just to transition when you change the viewport size. */
|
||||||
|
* {
|
||||||
|
transition: all 0.25s ease-out;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user