Answers for "putting linear gradient on image on background image"

CSS
3

gradient over image css

#linear-gradient-over-image{
    background-image: linear-gradient(to bottom, black, white), 
      url('images/background.jpg');
    background-size: cover;
}
Posted by: Guest on May-27-2020
0

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);
  }
Posted by: Guest on January-19-2021

Code answers related to "putting linear gradient on image on background image"

Browse Popular Code Answers by Language