1

I have two columns within a flexbox container that needs to be pixel perfect in term of their width.

<Column1 classname="col-sm-4">

<Column2 classname="col-sm-8>

I need Column1 to be at 327 pixel, and Column2 to take up the remainder of the width on that same row of Column1

Sam Niles
  • 31
  • 5
  • 1
    https://stackoverflow.com/questions/37745051/fill-the-remaining-height-or-width-in-a-flex-container – Paulie_D Jan 31 '22 at 19:36
  • 1
    See this reference. I think it'll help. https://stackoverflow.com/a/23794791/11168176 – Saikat Roy Jan 31 '22 at 19:36
  • 1
    Welcome! So what have you tried to do this? Seems like `flex` child properties like `flex-grow`, `flex-shrink` and `flex-basis` are your friends. – disinfor Jan 31 '22 at 20:02
  • Thank you for pointing me in the right direction. I was able to use flex-grow, flex-shrink, and flex-basis property to achieve the right layout – Sam Niles Feb 01 '22 at 00:02

0 Answers0