0

I was just checking out the button group of bootstrap and there is this:

<div class="btn-toolbar mb-3" role="toolbar" aria-label="Toolbar with button groups">
  <div class="btn-group mr-2" role="group" aria-label="First group">

I could not find any explanation what "mr-2" actually does. The same with "mb-3" for the toolbar.

Can anyone explain it please to me? And how can I find out what attributes like this do if I don't have any internet? I mean there must be a class or something that shows the behavior right?

moopet
  • 6,014
  • 1
  • 29
  • 36
Anna Klein
  • 1,906
  • 4
  • 27
  • 56
  • "If I don't have any internet"? You should be sure to grab an offline copy of the documentation from the website. – Adam Mar 23 '18 at 19:20

1 Answers1

3

mb = margin-bottom, mr = margin-right

It's "Bootstrap short-hand" by making classes out of CSS styling.

You can look through the bootstrap.css file to find their CSS properties.

Andrew_CSE
  • 351
  • 2
  • 6