@fortunat81
Posted
Great work ! totally understand you wanting to make your classes cleaner i would suggest using the (BEM) method (BLOCK->ELEMENT->MODIFIER)
here is one ressource : https://css-tricks.com/bem-101/
exemple
<div class="social-links"> <div class="social-links__header"> <div class="social-links__img-container"> <img class="social-links__img"> </div> <div class="social-links__text-content text-center"> <h2 class="social-links__name"></h2> <p class="social-links__location"></p> <p class="social-links__description"></p> </div> </div>Marked as helpful
@YourRat-webdev
Posted
thanks @fortunat81