Home >Web Front-end >HTML Tutorial >HTML5 Bootstrap study notes 2_html/css_WEB-ITnose
navbar upgrade from Bootstrap 2 to Bootstrap 3
1. .navbar-inner has been removed from Bootstrap 3.
2.
1 <meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
width: controls the size of the viewport , you can specify a value, such as 600, or a special value, such as device-width, which is the width of the device (units are CSS pixels when scaling to 100%).
Height: Corresponding to width, specify the height.
initial-scale: The initial scaling ratio, that is, the scaling ratio when the page is loaded for the first time.
maximum-scale: The maximum scale the user is allowed to zoom to.
minimum-scale: The minimum scale to which the user is allowed to zoom.
user-scalable: whether the user can manually zoom
Reference materials:
HTML meta viewport attribute description
viewport for mobile front-end development In-depth understanding
Understanding viewport and device-width http://www.xiaocaoge.com/understanding-viewport-and-device-width.html?utm_source=tuicool
Twitter Bootstrap: Responsive CSS does not work on mobile devices (solve the problem that Bootstrap mobile terminal cannot respond) http://julienrenaux.fr/2013/03/01/twitter-bootstrap-responsive-does-not-work-on-mobile-devices/