Centralize objects with bootstrap

This question already has an answer here:

  • Center a column using Twitter Bootstrap 3 28 answers
  • How do you get centered content using Twitter Bootstrap? 22 answers

  • Since those two elements are each 3 (of 12) columns wide on medium to large screens, you can add the class col-md-offset-3 to to first one. This should move both into the middle (creating a 3 columns wide space left of it) - that is, if you haven't used any other CSS besides Bootstrap (which you should have posted, if you did...).

    链接地址: http://www.djcxy.com/p/75918.html

    上一篇: 从模板编程生成libreoffice文本文档

    下一篇: 用bootstrap集中对象