I can't figure out how the buttons are horizontally separated so neatly here without the aid of left and right margins.
Does anyone know how this is done?
I can't figure out how the buttons are horizontally separated so neatly here without the aid of left and right margins.
Does anyone know how this is done?
The display method used for all of Bootstrap's .btn
components is inline-block
which makes them privy to the feature or bug (depending on your perspective) of honoring the white space created by carriage returns or spaces between each inline-block
item.