Excuse me, bootstrap layout in the big screen left alignment, in the small screen center alignment how to do, brothers

such as the title, look at the picture

***@mediabootstrap***
Mar.22,2021

there are generally two solutions to this situation:

  1. use @ media to adapt. Breakpoints are recommended to refer directly to the breakpoints in the bs framework to maintain visual consistency.
  2. (simple and rude method) do not write css, at all. Write two sets of identical HTML structures, and then control the display and hiding through the responsive tools provided by Bs, and the natural styles can also be separated.

bootstrap grid system learn about
https://v3.bootcss.com/css/-sharpgrid
excuse me, media query, set text-align when mobile resolution


bootstrap grid comes with this function.

Menu