“fond fixe” Réponses codées

arrière-plan statique HTML

body {
  background-image: url("img_tree.gif");
  
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  
  background-size: cover;
}
Lazurite

Fond de l'arrière-plan de l'image CSS

#hero1{
 background:url(https://4.bp.blogspot.com/_AQ0vcRxFu0A/S9shDGGyMTI/AAAAAAAAAYk/kn3WTkY2LoQ/s1600/IMG_0714.JPG);
  background-size:cover;
  background-position:center center;
  background-attachment:fixed;
Nasty Nightingale

fond fixe

background-attachment:fixed;
Code Cat

Image d'arrière-plan CSS Suivez le défilement

background-attachment: scroll;
background-attachment: fixed;
background-attachment: local;
Lioruby

Réponses similaires à “fond fixe”

Questions similaires à “fond fixe”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code