CSS - Parallax Scrolling-Effekt
<style>
#parallax-background {
background-image: url("bild.png");
height: 400px;
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
}
</style>
<div id="parallax-background"></div>
Bausteine Alle Anzeigen
Eine zufällige Auswahl von Codeschnipseln
aus den Bereichen
HTML, CSS,
PHP, JavaScript und
MySQL.
<select> Auswahlliste (Formularelement)
PHP - Bild proportional zur Breite verkleinern