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

119
Views
CSS center MUI grid container inside of parent div

Probably this question has been asked hundred of times, however I couldn't find solution working for me, I wrapped @mui grid container inside of regular div. So parent div has:

OuterContainer: {
    display:'flex',
    justifyContent:'center',
    height:"95%",
    width:"80%",
    margin:'1em',
     
}

enter image description here

while grid container(which is imagecontainer) has:

ImageContainer:{
    height:"95%",
    backgroundColor: "#4C6D94",
    borderRadius:12,
    margin:'0 auto'
}

enter image description here

I have tried to use display:inline-block in child div and many other ways, but nothing worked.

Any help would be appreciated.

about 4 years ago · Juan Pablo Isaza
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!