Topic: Center content on page
novvia free asked 5 years ago
Is there a "best practice" way to center content on a page, horizontally and vertically?
Thanks!
Add comment
Damian Gemza staff answered 5 years ago
Dear @novvia
You can center elements both horizontally and vertically by using two classes: d-flex flex-center
.
Please take a look at our Flexbox docs page.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.5.1
- Device: Macbook Pro
- Browser: Chrome
- OS: OS X
- Provided sample code: No
- Provided link: No