center div with boostrap code example
Example 1: bootstrap 4 center div
...
...
...
...
...
Example 2: how to center an element in bootstrap
//Bootstrap answer
To center text add .text-center class to the parent element
...
...
...
...
...
//Bootstrap answer
To center text add .text-center class to the parent element