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}
1 body {
2 background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), linear-gradient(red, yellow);
3 background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -webkit-gradient(linear, left top, left bottom, from(red), to(yellow));
4 background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -moz-linear-gradient(top, red, yellow);
5 }