Answers for "how to add background image with linear gradient in css with javascript"

0

background image with gradient 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;
}
Posted by: Guest on May-29-2021
4

linear gradient css background image

background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
Posted by: Guest on May-03-2020

Code answers related to "how to add background image with linear gradient in css with javascript"

Browse Popular Code Answers by Language