• Bootstrap的基本使用(css、js文件的引入)


    使用Bootstrap需要引入官方的文件

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">  
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>Bootstrap3示例</title>	
      <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    </head>
    <body>
    	
    <!-- 这里是具体的网页内容 -->
    
      <!-- bootstrap的核心js文件 -->
      <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
      <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    </body>
    </html>
    

    如果更完善一点的话,参照官网是:

    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
      <meta charset="utf-8">  
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <meta name="description" content="我是前端开发者">
      <meta name="keywords" content="javascript,vueJS,Jquery,AngularJS,HTML5,CSS3">
      <meta name="author" content="李金芝">
      <title>Bootstrap3示例</title>	
      <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    </head>
    <body>
    	
    <!-- 这里是具体的网页内容 -->
    
    <!-- bootstrap的核心js文件 -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    </body>
    </html>
    
  • 相关阅读:
    python input and output and cpickle
    NS3中文教程:3下载及编译软件
    Wireshark Display fliters
    Python 中的几种copy用法
    python func for shell operation
    关于AX的临时表
    关于AX中的Query是如何查询记录
    POJ 2996, Help Me with the Game
    POJ 1328, Radar Installation
    POJ 3295, Tautology
  • 原文地址:https://www.cnblogs.com/xiaoxiaoyu7/p/8543586.html
Copyright © 2020-2023  润新知