Answers for "should i use a gradient background color css or 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

gradient background image

body {
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(IMAGE_URL);
}
Posted by: Guest on August-04-2021

Code answers related to "should i use a gradient background color css or image"

Browse Popular Code Answers by Language