Bootstrap介绍

Bootstrap介绍

简介

  Bootstrap框架属于UI框架, Bootstrap对常见的CSS布局组件和JavaScript插件进行了完整的封装, 使开发人员可以轻松使用. 使用Bootstrap可以快速制作精美的响应式页面, 并且兼容移动端.

特性

  • 提供一套完整的CSS插件
  • 丰富的预定义样式表
  • 一组基于jQuery的JS插件表
  • 灵活的响应式删格系统
  • 移动先行
  • 基于Less和Sass开发

基础的Bootstrap模板

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Bootstrap 101 Template</title>
    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- 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://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <h1>Hello, world!</h1>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>

基础CSS样式

预置界面组件

JavaScript插件

Bootstrap文档

LESS语言

 

  

 

posted @ 2018-04-22 17:48  Charonnnnn  阅读(107)  评论(0)    收藏  举报