animated background

This commit is contained in:
2024-04-18 23:11:59 +02:00
parent f77bf9cc74
commit 5439f74b73
10 changed files with 772 additions and 395 deletions
@@ -9,13 +9,26 @@ main:not(.home) {
//
body {
#content-ontop{
z-index: 3000;
position: relative;
top: -1200px;
}
#background-animated{
z-index: 2000;
position: relative;
left: -350px;
}
position: relative;
&::before {
z-index: -1;
content: " ";
width: 100%;
height: 100%;
background-image: url("../images/fond-ronds.svg");
// background-image: url("../images/fond-ronds.svg");
background-repeat: no-repeat;
background-size: content;
display: block;
@@ -23,6 +36,10 @@ body {
top: 0;
left: 0;
}
// &::after {
// z-index: -1;
// content: " ";
@@ -63,3 +80,4 @@ article {
h4 {
// @include croix_or;
}