1
Good morning friends,
I am with a friend creating a site to put in practice our studies, only that we are with a big problem in this social network buttons, we can not position this image in the center of the circles, someone can us give a light?
Here is the HTML/CSS code:
/REDE SOCIAL INTERATICA INICIO/ section {
  margin: 10px auto;
  width: 1200px;
  height: 90px;
}
.rede {
  width: 50px;
  height: 50px;
  float: right;
  margin-left: 30px;
  transition: all 0.4s ease-out;
  border-radius: 50%;
}
.rede#facebook {
  background-color: #2372a3;
}
.rede#twitter {
  background-color: #0084b4;
}
.rede#instagram {
  background-color: #3f729b;
}
.rede#snap {
  background-color: #fc0;
}
.rede#plus {
  background-color: #dd4b39;
}
.rede#youtube {
  background-color: #b00;
}
.icone {
  padding: 3px;
  width: 3%;
  position: absolute;
  margin-right: 15%;
  transform: translate(15%, 15%, 1%);
  float: right;
}
/REDE SOCIAL FINAL/<h1>Atari Mania</h1>
<section>
  <div class="rede" id="facebook">
    <img class="icone" src="imagens/facebook.png" />
  </div>
  <div class="rede" id="twitter">
    <img class="icone" src="imagens/twitter.png" />
  </div>
  <div class="rede" id="instagram">
    <img class="icone" src="imagens/instagram.png" />
  </div>
  <div class="rede" id="snap">
    <img class="icone" src="imagens/snap.png" />
  </div>
  <div class="rede" id="plus">
    <img class="icone" src="imagens/plus.png" />
  </div>
  <div class="rede" id="youtube">
    <img class="icone" src="imagens/youtube.png" />
  </div>
</section>thanks in advance for any help!

have you thought about using Font Awesome? Much simpler and faster, can also customize with its colors, formats and sizes
– Costamilam
Well you can try using the pixel width value instead of percentage, so it doesn’t resize depending on the screen size, causing it to change position.
– Patrick Amaral
I just saw Font Awesome here, I will study it well to create this system.
– J.G Pontes Slva
I’ll try here to change
– J.G Pontes Slva