Responsive table by columns

后端 未结 5 779
花落未央
花落未央 2021-01-02 06:41

I have a table with four columns and I need to have a responsive table where each column will be below the other but I don\'t know how to do it. I hope that there is some an

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-02 06:52

    This is exactly what Bootstrap's Grid System is for, as Boostrap is designed to be mobile friendly. You can set up a document with code such as

    .col-md-4
    .col-md-4
    .col-md-4
    .col-md-6
    .col-md-6

    And it will automatically resize for smaller screen sizes.

提交回复
热议问题