How to center form in twitter bootstrap?

后端 未结 6 826
悲&欢浪女
悲&欢浪女 2020-12-08 21:11
6条回答
  •  北海茫月
    2020-12-08 22:01

    This is where i found my answer.

    https://stackoverflow.com/a/15084576/1140407

    This div will be centred.

    and to CSS:

    [class*="span"].centred {
      margin-left: auto;
      margin-right: auto;
      float: none;
    }
    

提交回复
热议问题