background render fix
This commit is contained in:
@@ -108,14 +108,32 @@ body{
|
|||||||
/* Hauptseite */
|
/* Hauptseite */
|
||||||
.seite {
|
.seite {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 80px 20px;
|
padding: 80px 20px;
|
||||||
transition: .4s ease;
|
transition: .4s ease;
|
||||||
background-image: url(../../bilder/background.png);
|
background-image: url(../../bilder/background.png);
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
background-repeat: no-repeat;
|
/* Nicht Ressourcen Schonend. > Laggs
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
background-size: cover;
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
/* GPU Freundlicher */
|
||||||
|
.seite::before {
|
||||||
|
content: "";
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
background-color: #121212;
|
||||||
|
background: url(../../bilder/background.png) no-repeat center center;
|
||||||
|
background-size: cover;
|
||||||
|
will-change: transform;
|
||||||
|
z-index: -1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Animierte Sterne */
|
/* Animierte Sterne */
|
||||||
|
|||||||
Reference in New Issue
Block a user