Topic: 2 columns
Ivan Incera (Mundo gamer) pro asked 6 years ago
Hi,
I'm trying to create two columns in line, but put one under the other, how would it be? I leave the example.
https://mdbootstrap.com/snippets/jquery/ivan_incera_mundo_gamer/156725
Bartłomiej Malanowski staff pro premium answered 6 years ago
You're trying to put columns inside column, but the columns aren't a flex elements - they're blocks. You need to add a wrapper with `display: flex`. I recommend you to use `.row` class so you'll be sure this will behavior properly here's the snippet: https://mdbootstrap.com/snippets/jquery/bartek-malanowski/159088
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.10
- Device: computer
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No