Twitter's Bootstrap 3 grid, changing breakpoint and removing padding

前端 未结 3 612
花落未央
花落未央 2020-11-29 03:51

I m trying to move to the new boostrap 3 grid and I m facing some difficulties.

  1. How to have the grid to stack below 480px but not between 480px and 768px?
3条回答
  •  感动是毒
    2020-11-29 04:11

    1. Use class .col-ts-12 for all 100% divs under 480px and put this code at the end of bootstrap.css:

      @media (max-width: 480px) { 
          .col-ts-12 { float: none; }
      }
      

提交回复
热议问题