1#show_bg_2 {
2 background-image:
3 linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)),
4 url('images/background.jpg');
5 width: 80%;
6 height: 400px;
7 background-size: cover;
8 color: white;
9 padding: 20px;
10}
1body {
2 background: #eb01a5;
3 background-image: url("IMAGE_URL"); /* fallback */
4 background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */
5}
1.background_img {
2 background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url(../Image/bg.jpg);
3 /* background-image: url(../Image/bg.jpg); */
4 width: 100%;
5 height: auto;
6 background-repeat: no-repeat !important;
7 background-size: cover !important;
8 background-position: center !important;
9}