Bootstrap 4 Column Alignment Inconsistencies
In the transition from Bootstrap 3 to 4, you've noticed that your columns are vertically aligned instead of horizontally. This can be attributed to a change in the grid system in Bootstrap 4.
Col-12 Issue
In Bootstrap 3, you could wrap columns within a parent row using the class "col-12". This is no longer valid in Bootstrap 4. Each level of nesting has its own row, so remove the "col-12" class from the parent row:
TEST
TEST
TEST
TEST
This will ensure that the columns are aligned horizontally and maintain their expected behavior. For more information on nesting in Bootstrap, refer to their official documentation: https://getbootstrap.com/docs/4.0/layout/grid/#nesting
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3