Article push/pull alignment using bootstrap 3

后端 未结 4 839
说谎
说谎 2020-12-18 06:41

I\'m using bootstrap 3 and I try to have a specific grid alignment for article on desktop.

On mobile I want to order content of the article like that :

  1. T
4条回答
  •  忘掉有多难
    2020-12-18 07:15

    it's your columns class:

    md: 4 (image) - 8 (title) => 1st row (max 12 columns)
    8 (content) => new row

    that's will make a new row, the 2nd row placed below image/title column
    so you must use this columns setting (using hidden class) like this:

    md: 2 (image) - 5 (title) - 5 (hidden-xs hidden-sm)
    5 (content)

    just try this code:

    CSS:

    
    

    HTML:

        
    

    maybe it's not solve the problem. but you can use this trick.
    sorry for my bad english

提交回复
热议问题