.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);
background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(https://images.pexels.com/photos/768473/pexels-photo-768473.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500);
GradientFinder {
fromUrl: function(url, onload),
fromCanvas: function(canvas)
};
Code Example |
---|
Html :: minimal acceptable html |
Html :: bootstrap table hover |
Html :: open new tab when clicking link html |
Html :: twitter card meta tags |
Html :: html basic |
Html :: hyperlink html |
Html :: reactjs white space |
Html :: allow only positive integer in input type number |
Html :: django jinja extract elements from form object |
Html :: html center body |
Html :: img load error use other image |
Html :: video tag thumbnail |
Html :: html input suggestion |
Html :: vue js focus ref |
Html :: google data layer push |
Html :: link style page with html page in django |
Html :: nuxt route id nuxt link |
Html :: hide audio controls html |
Html :: html button with action link |
Html :: scrolling text html |
Html :: meta og:image |
Html :: html numeric keyboard |
Html :: twig keys |
Html :: foreach jstl |
Html :: html not showing |
Html :: am pm time html javascript |
Html :: tailwind hover color |
Html :: html text box |
Html :: how to set an svg favicon in html |
Html :: align buttons next to each other bootstrap |