Home › Forums › CSS › What are the best ways to deal with different bottom margins? › Reply To: What are the best ways to deal with different bottom margins?
August 31, 2013 at 6:12 am
#148649
wolfcry911
Participant
I wouldn’t change the bottom margin at all. I’d move the h2 (or h3) up using a negative margin only when it follows the h1 (or h2).
h1 + h2, h2 + h3 {
margin-top: -20px;
}