-1

I made a footer but I can't remove the space on the left, right and bottom.

HTML

<footer id="footerID" class="footer">
      <a
        href="https://www.linkedin.com/home?originalSubdomain=pt"
        target="_blank"
        >LinkedIn</a
      >
      <a href="https://mail.google.com/mail/u/0/" target="_blank">Gmail</a>
      <a href="https://github.com/" target="_blank">GitHub</a>
    </footer>

CSS

.footer{
    width: 100%;
    background-color: #64ffc6;
    color: white;
    text-align: center;
  }
  
  .footer > a{
    display: inline-block;
    text-align: center;
    padding: 10px 30px 10px 30px;
    font-weight: bold;
    color:#182436;
    font-size: 15px;
    text-decoration: none;
  }

Codepen: https://codepen.io/alexkoyomi/pen/GRdKPRw?editors=1100

jmoerdyk
  • 5,544
  • 7
  • 38
  • 49
  • 1
    Please do not edit solution announcements into the question or title. See [What should I do when someone answers my question?](https://stackoverflow.com/help/someone-answers) You can also create your own answer, and even accept it, if your solution is not yet covered by an existing answer. See [Can I answer my own question?](https://stackoverflow.com/help/self-answer) – jmoerdyk Sep 01 '22 at 23:02

1 Answers1

1

The body element has default margin. Remove it like this :

body{
  margin: 0;
}
Moustapha
  • 108
  • 10