1/* A gradient tilted 100 degrees,
2 starting gray and finishing black */
3
4.class {
5 background: linear-gradient(100deg, rgba(63, 63, 63, 0.8) 0%, rgba(255, 255, 255, 0) 25%);
6}
7
8/* A gradient going from the bottom to top
9 starting red and finishing orange */
10
11.class {
12 background: linear-gradient(to top, #f32b60, #ff8f1f);
13}
14
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#show_bg_2 {
2
3background-image:
4 /*two color gradient over an image*/
5linear-gradient(to bottom, rgba(245, 246, 252, 0.52),
6rgba(117, 19, 93, 0.73)),url('images/background.jpg');
7
8width: 80%;
9height: 400px;
10background-size: cover;
11}
1body {
2 background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(IMAGE_URL);
3}