Get the App
SLTechnology News&Howtos  ›  Development  › 

Why does bootstrap default to 12 grids?

Shulou Source: shulou.com Published: 2022-06-03 10:37:30 10月01日 Update

This article will explain in detail why bootstrap defaults to 12 grids. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Bootstrap is a set of open source front ends for website and web application development (the so-called "front end" refers to the interface presented to the end user. The corresponding "back end" is the code running on the server) frameworks, including HTML, CSS and JavaScript frameworks, provide font printing, forms, buttons, navigation and various other components and Javascript extensions, designed to make the development of dynamic web pages and Web applications easier.

Why is bootstrap 12 grids?

Because 12 is the least common multiple of 1Personality 2, 3, 4, 6, the 12-column grid system is relatively flexible and supports dividing a row into 1 column, 2 columns, 3 columns, 4 columns, and 6 columns. If you want to support 5 columns, the minimum common multiple of 1, 2, 3, 4, 5 is 60, which is obviously too large for a grid system.

This is the end of the article on why bootstrap defaults to 12 grids. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Grid article minimum common multiple front end more minimum common multiple framework system application development support good practical one line code content dynamic and other fonts Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia macOS Docker Apple Shulou Technology