Topic: collapse with col-6 not work inline
Ollie Vincent pro answered 7 years ago
Hi,
Could you try something like this?
<div class="row" id="collapse"> <div class="col-md-6"> <div class="form-group "> <label class="" for="">input1</label> <input type="text" class="form-control" name="" id="" value=""> </div></div> <div class="col-md-6"> <div class="form-group "> <label class="" for="">input2</label> <input type="text" class="form-control" name="" id="" value=""> </div></div> </div>
Let me know if that is what you are looking for... otherwise please expand your question.
Thanks
solaris32 pro commented 7 years ago
hello but i need the collapse show and hide effect, like the example(https://mdbootstrap.com/javascript/collapse/). i add the toggle button at the link(http://lab.mailok.com.tw:8080/ron/mdb/collapse.php), it became inline and change to two line, when toggle.Bartłomiej Malanowski staff pro premium answered 7 years ago
.collapse.show {
display: block;
}
to
.collapse.show {
display: flex;
}
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: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No