FIXED BG ON WEBKIT ???????

Šī revīzija ir iekļauta:
thaaoblues 2023-05-11 19:39:45 +02:00
vecāks 05d81c32ed
revīzija 4622330a8b
2 mainīti faili ar 5 papildinājumiem un 6 dzēšanām

Parādīt failu

@ -45,7 +45,6 @@ body {
background-color: #499135;
background-repeat: no-repeat, no-repeat;
background-size: auto,cover;
position: fixed;
height: 100%;
width: 100%;
@ -61,11 +60,13 @@ body {
@media all and (max-width: 800px) {
.bg{
background-position: center center, center center;
background-size: auto,cover;
background-position: 2vw 15vh, center center;
background-size: auto,cover;
height: 100vh;
width: 100vw;
}
min-width: 550px;
}
}

Parādīt failu

@ -131,8 +131,6 @@ header("Cache-Control: no-cache, must-revalidate");
}
document.getElementById('bg').style.backgroundImage = 'url(' + personnage + '),'+ 'url(\"'+background+'\")';
</script>
</html>