Mam taki kod:
Kod
.background-image {
width: 100%;
height: 500px;
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
background-image: url('../images/slider/background.jpg');
}
width: 100%;
height: 500px;
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
background-image: url('../images/slider/background.jpg');
}
Jak nałożyć na zdjęcie taki gradient:
Kod
.gradient {
background: linear-gradient(215deg, rgba(126, 170, 255, 0.8) 0%,rgba(236,135,192,0.8) 100%);
}
background: linear-gradient(215deg, rgba(126, 170, 255, 0.8) 0%,rgba(236,135,192,0.8) 100%);
}