improved background rendering slightly
This commit is contained in:
parent
ff092d3d84
commit
863a2e9c29
3 changed files with 17 additions and 17 deletions
|
@ -1,11 +1,14 @@
|
|||
.background {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.background > img {
|
||||
height: 100%;
|
||||
.background_1 {
|
||||
background-image: url('../assets/background_1.jpg');
|
||||
}
|
||||
|
||||
.background_2 {
|
||||
background-image: url('../assets/background_2.jpg');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue