Answers for "linear-gradient overlay on bg image"

2

background with image and gradient

body {
  background: #eb01a5;
  background-image: url("IMAGE_URL"); /* fallback */
  background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */
}
Posted by: Guest on September-08-2020
0

how to give linear transprerancyon background image

background: linear-gradient(to right, rgba(255,255,255,0) 20%,
              rgba(255,255,255,1)), url(http://foo.com/image.jpg);
Posted by: Guest on December-03-2020

Code answers related to "linear-gradient overlay on bg image"

Browse Popular Code Answers by Language