“Latar Belakang Ulangi” Kode Jawaban

cara menghentikan gambar yang berulang di CSS

body {
  background-image: url("image.jpg");
  background-repeat: no-repeat;
}
abdullah

Latar belakang-repeat

background-image: url('path_to_background_image');
background-repeat: repeat|repeat-x|repeat-y|no-repeat|initial|inherit;
Fragile Flamingo

Latar Belakang Ulangi

/* Keyword values */
background-repeat: repeat-x;
background-repeat: repeat-y;
background-repeat: repeat;
background-repeat: space;
background-repeat: round;
background-repeat: no-repeat;

/* Two-value syntax: horizontal | vertical */
background-repeat: repeat space;
background-repeat: repeat repeat;
background-repeat: round space;
background-repeat: no-repeat round;

/* Global values */
background-repeat: inherit;
background-repeat: initial;
background-repeat: revert;
background-repeat: unset;
Glorious Gerenuk

Gambar latar belakang Ulangi CSS

div {
  background-image: url("alert.png");
  background-repeat: no-repeat;
}
Hatim Eddinani

Latar Belakang Ulangi

<repeat-style>#
where 
<repeat-style> = repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}
Glorious Gerenuk

Jawaban yang mirip dengan “Latar Belakang Ulangi”

Pertanyaan yang mirip dengan “Latar Belakang Ulangi”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya