核心提示:前端之框架-bootstrap超小屏幕(手机,小于 768px---------------------------xs@media screen and (max-width: 767px) {bo...
前端之框架-bootstrap
超小屏幕(手机,小于 768px---------------------------xs @media screen and (max-width: 767px) { body { background-color:lightblue; } } 小屏幕(平板,大于等于 768px)----------------------sm @media (min-width:768px;) and (max-width: 991px) { body { background-color:lightblue; } } 中等屏幕(计算机小型显示器,大于等于 992px)----------md @media (min-width:992px) and (max-width: 1199px) { body { background-color:lightblue; } } 大屏幕(计算机大型显示器,大于等于 1200px)-----------lg @media screen and (min-width: 1200px) { body { background-color:lightblue; } }