B
B
babick2021-12-22 00:49:06
Bootstrap
babick, 2021-12-22 00:49:06

How to place a block in the center of the page in bootstrap 5, and in this block create another block in the center of the first one?

I can't find in the documentation how to do this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2021-12-22
@shambler81

<div class="d-flex justify-content-center">...</div>

https://getbootstrap.com/docs/5.0/utilities/flex/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question