I'm trying to apply a gradient effect around a background image but I just can't get close. I can figure out how to apply a gradient to the bottom of the image. Can anyone help?
Current code:
body {
  background: black;
}
.backgroundImg {
  position: absolute;
  top: 0px;
  left: 0px;
  size: contain;
  width: 1000;
  height: 10;
  z-index: 1;
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)))
}<div class="container">
  <img src="http://image.tmdb.org/t/p/w1000/dpo7WDOhWtACY6oflrqxutbhg81.jpg" class="backgroundImg">
</div>
 
     
    