1.要用bootStrap这个框架就必须要重载它的class类,也就是说class要一样
代码如下:
有疑问的可以在下面留言,欢迎大家一起交流
1.1动态模态框
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="bootstrap-3.3.7/css/bootstrap.css" rel="external nofollow" rel="external nofollow" > <script src="/UploadFiles/2021-04-02/jquery.min.js">1.2静态模态框
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="bootstrap-3.3.7/css/bootstrap.css" rel="external nofollow" rel="external nofollow" > <script src="/UploadFiles/2021-04-02/jquery.min.js">总结
以上所述是小编给大家介绍的BootStrap的动态模态框及静态模态框,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!