Is it possible to use “rows” and “spans” inside modals in Twitter Bootstrap?

后端 未结 3 617
攒了一身酷
攒了一身酷 2021-01-12 00:36

I\'m trying to use the modals within Twitter Bootstrap to implement a contact form.

Ideally I would like the first two fieldsets to align next to each other and the

3条回答
  •  天命终不由人
    2021-01-12 01:05

    Here is a solution only using Twitter Bootstrap 3 classes - namely row, col-sm-6 and clearfix:

    HTML

    ...
    
    ...
    

    Added borders to the columns for viewability below. Note that there is also default Bootstrap padding around the

    tag, not bordered below.

    Rendered preview

    Rendered example of HTML above

    If you want to look at how to structure the title or footer of the modal (before/after the ellipses in the above example), you can look at the layout of Bootstrap modals here.

提交回复
热议问题