3
Good afternoon, my friends! I wonder how I can get a Fontawesome icon to receive formatting ONLY if the HTML element belongs to the class status
.
With different styles for 3 Fontawesome icons, with the same class social
Ex:
<!-- O caso abaixo não é afetado pelo CSS, pois não tem o "social" dentro do class -->
<i class="fa fa-home"></i>
<!-- Já este outro caso será afetado pelo CSS, pois possui o "social" dentro do class -->
<i class="fa fa-home social"></i>
<i class="fa fa-book social"></i>
<i class="fa fa-pencil social"></i>
Thank you in advance.
That’s probably the problem I had, I separated the two with a space. I have no knowledge of CSS, so I thought putting with or without space made no difference. Thank you for clarifying.
– Brunno
@Brunno forehead and warn me.
– Guilherme Nascimento
It worked. I’m just waiting to give the time to set as the best answer.
– Brunno