“Hintergrund-Image Linear-Gradient-URL” Code-Antworten

Hintergrund mit Bild und Gradienten

body {
  background: #eb01a5;
  background-image: url("IMAGE_URL"); /* fallback */
  background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */
}
Innocent Ibis

Hintergrundbild mit Gradienten -CSS

.background_img {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url(../Image/bg.jpg);
    /* background-image: url(../Image/bg.jpg); */
    width: 100%;
    height: auto;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}
Dangerous Duck

linearer Gradienten CSS -Hintergrundbild

background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
abdullah

Hintergrund-Image Linear-Gradient-URL

  body {
    background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), linear-gradient(red, yellow);
    background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -webkit-gradient(linear, left top, left bottom, from(red), to(yellow));
    background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -moz-linear-gradient(top, red, yellow);
  }
Busy Butterfly

Ähnliche Antworten wie “Hintergrund-Image Linear-Gradient-URL”

Fragen ähnlich wie “Hintergrund-Image Linear-Gradient-URL”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen