Basic introduction
1, the use of media query function and the use of these tools can be convenient for different devices to show or hide the content of the page.
Basic use
<!DOCTYPE HTML><HTMLLang= "ZH-CN"><Head> <MetaCharSet= "Utf-8"> <Metahttp-equiv= "X-ua-compatible"content= "Ie=edge"> <Metaname= "Viewport"content= "Width=device-width, initial-scale=1"> <!--The above 3 meta tags * must be * first, and any other content * must be followed! - <title>Bootstrap 101 Template</title> <!--Bootstrap - <Linkhref= "Css/bootstrap.min.css"rel= "stylesheet"> <style>. Row Div{Border:1px solid #000; } </style> <!--HTML5 Shim and Respond.js for IE8 support of HTML5 elements and media queries - <!--WARNING:Respond.js doesn ' t work if you view the page via file:// - <!--[If Lt IE 9]> <script src= "Https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js" ></script> &L T;script src= "Https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js" ></script> <! [EndIf] -</Head><Body><Divclass= "Container-fluid"> <Divclass= "Row Hidden-xs"> <Divclass= "Col-lg-3 col-sm-6">Brief introduction</Div> <Divclass= "Col-lg-3 col-sm-6">Brief introduction</Div> <Divclass= "Col-lg-3 col-sm-6">Brief introduction</Div> <Divclass= "Col-lg-3 col-sm-6">Brief introduction</Div> </Div></Div><!--jQuery (necessary for Bootstrap ' s JavaScript plugins) -<Scriptsrc= "Js/jquery.min.js"></Script><!--include all compiled plugins (below), or include individual files as needed -<Scriptsrc= "Js/bootstrap.min.js"></Script></Body></HTML>
The list is hidden when the screen is less than 768px
Mobile Web--bootstrap-responsive tool