Just out of curiosity, why bootstrap uses -15pxleft and right margin, which is going to undo classes 15pxleft and right paddingon .containerand .container-fluid.Why set the indent and then cancel it with a negative field on the child?
-15px
margin
15px
padding
.container
.container-fluid
As the official website Bootstrap said:
Rows are wrappers for columns. Each column has a horizontal padding(called a gutter) to control the space between them. This paddingthen counteracts the lines with a negative value margins. Thus, all the content in your columns is visually aligned on the left side.
margins
A negative field in a row avoids the empty space that will be left due to the filling of the first column. In his absence, the entire layout will look a little indented.
Source: https://habr.com/ru/post/1690665/More articles:Несколько макетов для планшета и телефона - androidCan we create one type of layout for all screen sizes - javaDifferent layout for mobile phone and tablet - androidCan I get a Visual Studio C # program for managing raspberry pi? - c #Vagrant с провайдером Hyper-V для запуска Laravel Homestead - vagrantGetting multiple results in regression using deep learning - deep-learningHow to check if values exist in a table row? - javascriptAzure Blob storage size File size exceeds maximum supported size with ionic 3 application - azureStock chart timeline buttons and date field on the left align with the chart - buttonUsing "in", where the condition with the case is sql-serverAll Articles