Home › Forums › CSS › Large typography with consistent padding › Reply To: Large typography with consistent padding
December 21, 2017 at 12:54 am
#264157
JeroenR
Participant
There are probably several ways to achieve this.
I would set the line-height of the class .numlg
to 0.75 or something like that. And set the background color in the :after
of the first column DIV in the row with the numbers in it (the one with these classes col-md-8 col-md-offset-2 text-center-m
). Instead of the separate blue underlay DIV.
Then I wouldn’t use the top padding in the next row.
This way the whole thing is wrapped in the same row.
Something like this: https://codepen.io/jeroenreijs/pen/GyqPRB