div in a button bootstrap code example Example 1: bootstrap 4 button Primary Secondary Success Danger Warning Info Light Dark Link Example 2: bootstrap button group 1 2 3 4 5 6 7 8