title: How to remove a border of background-image
body: <p>I'm using background-image to display images but it put a kind of border around the image and I can't get out it.</p>
  
  <p>How can I do that?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body
  {
    background-color: grey;
  }
  .footer-red-bar
  {
    width: 100%;
    height: 180px;
    margin: 0 auto;
    margin-top: 2em;
  }
  
  .footer-red-bar img
  {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="footer-red-bar"&gt;
    &lt;img style="background-image: url(https://www.w3schools.com/css/trolltunga.jpg)"/&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thank you</p>