.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;
}
body {
background: #eb01a5;
background-image: url("IMAGE_URL"); /* fallback */
background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */
}
#show_bg_2 {
background-image:
/*two color gradient over an image*/
linear-gradient(to bottom, rgba(245, 246, 252, 0.52),
rgba(117, 19, 93, 0.73)),url('images/background.jpg');
width: 80%;
height: 400px;
background-size: cover;
}
background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
body {
background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(IMAGE_URL);
}
Code Example |
---|
Css :: remove outline |
Css :: css minmax |
Css :: This message is shown once a day. To disable it please create |
Css :: postcss plugin |
Css :: css make bottom of the div triangle |
Css :: css clear |
Css :: remove materialize style input |
Css :: crop image with circle css |
Css :: change the weight of a bold font css |
Css :: css animated background |
Css :: css class id |
Css :: box sizing |
Css :: rotate icon |
Css :: move element on new line css |
Css :: css overflow |
Css :: flexbox |
Css :: reference images from css in django |
Css :: css browser prefixes |
Css :: Unable to locate package neo4j |
Css :: color code for maroon |
Css :: css line-through color |
Css :: how to set unclickable checkbox using css |
Css :: border for text in html |
Css :: border radius css |
Css :: scroll snap css |
Css :: css clearfix for floats with display table and clear both |
Css :: css id selector |
Css :: font awesome icons showing squares before after |
Css :: form css design |
Css :: how to change a checkbox to be selected |