title: Remove padding/margin in Bootstrap
body: <p>I'm building a website using Bootstrap 4 and I've noticed that every div has padding and I'm looking for a way to remove it. I've tried to add a class called nopadding with padding: 0 !important; margin: 0 !important; but it doesn't help.
  I would love to get some help with it.</p>
  <p>Code example (I can click on link even if the mouse is below the link itself):</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>.credits {
    display: flex;
    justify-content: center;
    padding: 2px;
  }
  
  .credits a {
    color: #d5d5d5;
    text-decoration: none;
  }
  
  .credits a:hover {
    color: #0088a9;
    transition: 0.5s;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="container-fluid"&gt;
    &lt;div class="row text-center"&gt;
      &lt;div class="col-12"&gt;
        &lt;div class="credits"&gt;
          &lt;p style="margin-right: 5px;"&gt;Inspired by&lt;/p&gt;
          &lt;a href="https://colorlib.com/preview/theme/alias/" target="_blank"&gt;Bootstrap Website Template&lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="credits"&gt;
          &lt;p style="margin-right: 5px;"&gt;Icons from&lt;/p&gt;
          &lt;a href="https://fontawesome.com/" target="_blank"&gt;Font Awesome&lt;/a&gt;
          &lt;p style="margin-right: 5px; margin-left: 5px;"&gt;and&lt;/p&gt;
          &lt;a href="https://iconify.design/" target="_blank"&gt;Iconify&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>