Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

82
Views
How can I display the content of my webpage in center using react bootstrap

I am designing a webpage for a desktop using react-bootstrap. I have in my webpage logo, Main heading and form, and some links after the display of the form, I want to display all my content in the center of the webpage. How can I accomplish it using bootstrap flexbox

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can give the most parent div or element in your app a className and apply flexbox properties to it.

const App = () => {
  return (
    <div className='d-flex align-items-center justify-content-center'>...</div> // <--------Most parent div-------->
  )
}

If you only want to center the content horizontally then only apply justify-content otherwise apply both.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!