btn pull-right in bootstrap code example
Example 1: bootstrap align right
To aligning div in bootstrap you can use bootstrap classes like
1. float-left
2. float-right
3. float-none
Float left on all viewport sizes
Float right on all viewport sizes
Don't float on all viewport sizes
Example 2: bootstrap align right button
Float left on viewports sized SM (small) or wider
Float left on viewports sized MD (medium) or wider
Float left on viewports sized LG (large) or wider
Float left on viewports sized XL (extra-large) or wider