background image linear gradient css code example
Example 1: background with image and gradient
body {
background: #eb01a5;
background-image: url("IMAGE_URL");
background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
}
Example 2: linear gradient css
.class {
background: linear-gradient(100deg, rgba(63, 63, 63, 0.8) 0%, rgba(255, 255, 255, 0) 25%);
}
.class {
background: linear-gradient(to top, #f32b60, #ff8f1f);
}
Example 3: linear gradient css background image
background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
Example 4: linear-gradient
background: linear-gradient(to left, #333, #333 50%, #eee 100%);
Example 5: background-image linear-gradient url
body {
background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), linear-gradient(red, yellow);
background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -webkit-gradient(linear, left top, left bottom, from(red), to(yellow));
background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -moz-linear-gradient(top, red, yellow);
}
Example 6: how to find the gradient linear of image
GradientFinder {
fromUrl: function(url, onload),
fromCanvas: function(canvas)
};