Logo Informatizzati

Colorare icone Fontawesome

<div>
  <a href="/"><i class="fab fa-linkedin"></i>Linkedin</a>
</div>

div {
  background: #000;
}
a{
  color: #0e76a8;/*colore di linkedin/*
}

.fa-linkedin::before { 
  background-image: linear-gradient( to bottom, transparent 20%, white 20%, white 93%, transparent 93% );/*colore di sfondo interno*/
  background-size: 84%; 
  background-position: 60% 0; 
  background-repeat: no-repeat; 
}

Tags

Commenti offerti da CComment