css image linear gradient code example

Example 1: background with image and gradient

body {
  background: #eb01a5;
  background-image: url("IMAGE_URL"); /* fallback */
  background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */
}

Example 2: linear gradient css background image

background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);

Example 3: how to find the gradient linear of image

GradientFinder {
    fromUrl: function(url, onload),
    fromCanvas: function(canvas)
};

Tags:

Css Example