Center content on page


Topic: Center content on page

novvia asked 3 years ago

Is there a "best practice" way to center content on a page, horizontally and vertically?

Thanks!


Damian Gemza staff answered 3 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


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: 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