animated background
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user