Skip to content

Latest commit

 

History

History
 
 

container

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

MContainer

响应式布局容器,与Boostrap 3的栅格系统效果一致

<m-container fluid>
  <m-row>
    <m-col md="4"></m-col>
    <m-col md="4"></m-col>
    <m-col md="4"></m-col>
  </m-row>
</m-container>

样式来自:100行less实现bootstrap的12栅格布局

MContainer Attributes

  • fluid 是否占用100%宽度,与Boostrap .container-fluid一致默认false。

MCol Attributes

  • xs Number or String 与Boostrap .col-xs一致
  • sm Number or String 与Boostrap .col-sm一致
  • md Number or String
  • lg Number or String
  • offset Number or String 与Boostrap .col-md-offset一致
  • pull Number or String
  • push Number or String
  • xs-offset Number or String 与Boostrap .col-xs-offset一致
  • sm-offset Number or String
  • lg-offset Number or String
  • xs-pull Number or String
  • sm-pull Number or String
  • lg-pull Number or String
  • xs-push Number or String
  • sm-push Number or String
  • lg-push Number or String