首先是关于col栅栏系统,比较系统的用法和规则在官网有介绍,这里说在项目开发中比较常见和容易忽略的问题。
1、col-lg、col-md、col-sm、col-xs四种:
col-lg一般用于大屏设备,
(min-width:1200px);
col-md一般用于中屏设备,
(min-width:992px);
col-sm一般用于小屏设备,
(min-width:768px);
col-xs用于超小型设备,
(max-width:768px);
首先是关于col栅栏系统,比较系统的用法和规则在官网有介绍,这里说在项目开发中比较常见和容易忽略的问题。
1、col-lg、col-md、col-sm、col-xs四种:
col-lg一般用于大屏设备,
(min-width:1200px);
col-md一般用于中屏设备,
(min-width:992px);
col-sm一般用于小屏设备,
(min-width:768px);
col-xs用于超小型设备,
(max-width:768px);