0

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?

enter image description here

picardo
  • 24,530
  • 33
  • 104
  • 151
  • 1
    the duplicate explain how to remove that space but also explain why there is a space too (you don't need the remove part) – Temani Afif Oct 17 '20 at 19:33

1 Answers1

1

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.

Robert
  • 6,881
  • 1
  • 21
  • 26