实例:通过为列设置padding 属性,从而创建列与列之间的间隔

两列之间白色区域为左侧列的padding

  • Item 1

  • Item 1

  1. <div class="mui-content">
  2. <div class="mui-row">
  3. <div class="mui-col-sm-6" style="padding-right: 20px;">
  4. <li class="mui-table-view-cell">
  5. <a class="mui-navigate-right">
  6. Item 1
  7. </a>
  8. </li>
  9. </div>
  10. <div class="mui-col-sm-6">
  11. <li class="mui-table-view-cell">
  12. <a class="mui-navigate-right">
  13. Item 1
  14. </a>
  15. </li>
  16. </div>
  17. </div>
  18. </div>

扩展阅读

代码块激活字符:

mrow

mcolsm

mcolxs