transparent linear gradient background-image code example
Example: 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);