Home >Web Front-end >Bootstrap Tutorial >A brief discussion on the differences between Bootstrap3 and Bootstrap4
This article will introduce to you the differences between Bootstrap3 and Bootstrap4. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
The difference between Bootstrap3 and Bootstrap4
##Bootstrap3 | Bootstrap4 |
---|---|
Sass preprocessing | |
bootstrap3 has a total of 4 grid types, in order: Extra small (col-xs-) (<=768px)small (col-sm-) (>=768px)中(col-md-) (>=992px)大(col-lg-) (>=1200px) | Bootstrap 4 has a total of 5 grid types, in order: Extra small (col-) (<576px)Small (col-sm-) (> ;=576px) 中(col-md-) (>=768px)大(col-lg-) (>=992px)Extra large( col-xl-) (>=1200px) |
Bootstrap 4 uses elasticity The layout method of the box model (flexbox) | |
Use rem and em as the unit (except for some margins and padding that use px) |
Bootstrap4 Features
Programming Video! !
The above is the detailed content of A brief discussion on the differences between Bootstrap3 and Bootstrap4. For more information, please follow other related articles on the PHP Chinese website!