html - CSS image as background with overlaying gradient color -


I have a picture as the backdrop of the list element.

I want to make a gradient of the background image overlay of the list item which should be transparent

CSS foreground, the image overlay should be like this:.

  .listItem {background: linear-gradient (white, black); Opacity: 0.2; }  

I can not wrap a div around the list element, because the structure does not accept it.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -