Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the differences between bootstrap v4 v3

Shulou Source: shulou.com Published: 2022-06-02 17:41:52 09月28日 Update

This article mainly introduces "what are the differences between bootstrap v4 v3". In daily operation, I believe that many people have doubts about the differences between bootstrap v4 v3 and v4 v3. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "what are the differences between bootstrap v4 v3 and v3?" Next, please follow the editor to study!

Differences: 1, bootstrap v4 is written in Sass language, v3 is written in Less language; 2, v4 has 5 kinds of grid classes, v3 has 4 kinds of grid classes; 3, v3 uses px as units, v4 uses rem and em as units; 4, v3 uses float layout, v4 uses flexbox layout.

Operating environment of this tutorial: Windows7 system, Bootstrap3&&Bootstrap4 version, DELL G3 computer

Different points Bootstrap3Bootstrap4LessSass language compiles 4 kinds of grid classes 5 kinds of grid classes use px as units use rem and em as units (except some margin and padding use px) use push and pull to move offset columns left and right select elastic box model (flexbox) through offset- class settings using float layout

4 grids for Bootstrap3:

Very small (col-xs-) adaptable mobile phone (

Tags: Dimensions grids elements adaptations units levels learning layout ways computers languages can make pictures more problems help move different practical and so on Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info Xiaomi OPPO Reno NVidia