Bootstrap - Change rows and columns order

后端 未结 4 552
心在旅途
心在旅途 2020-12-29 23:40

Using Bootstrap is it possible to have these two different layouts depending on the viewport? I\'ve been searching about this and I\'m aware of the concepts push, pull and r

4条回答
  •  遥遥无期
    2020-12-30 00:23

    Is this what you are looking for? https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries

    I use media queries all the time for that sort of things.

    I can use it in two ways. first, define stylesheet:

    
    

    Second, define media query in stylesheet:

    @media handheld and (min-width: 20em), screen and (min-width: 20em) { ... }
    

    Hope i didn't misunderstood your question :D

提交回复
热议问题