且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Twitter Bootstrap 的响应式 CSS 适用于调整大小的窗口,但不适用于移动设备

更新时间:2023-01-05 19:08:04

确保按照 Bootstrap 的 响应式文档 因此布局将缩放到设备宽度.

Make sure to include the meta viewport element as instructed in Bootstrap's responsive docs so the layout will scale to the device width.

<meta name="viewport" content="width=device-width, initial-scale=1.0">