加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 18.95 KB
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html lang="en">
<head>
<!-- 网站字符集,防止网站出现乱码 -->
<meta charset="UTF-8">
<!-- 如果是IE浏览器使用IE最新引擎渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- 视口标签 响应式网站必备 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 网站关键字 -->
<meta name="keywords" content="博客,web,前端,html,css,javascript,vue,react,nodejs,小程序">
<!-- 网站描述 -->
<meta name="description" content="最牛逼前端技术分享,分享web全栈开发等相关的技术文章,热点资源,全栈程序员的成长之路。">
<!-- 网站作者 -->
<meta name="author" content="风月笑平生">
<!-- 网站标题 -->
<title>HELLO</title>
<!-- 网站小图标 -->
<link rel="shortcut icon" href="./images/favicon.ico" />
<!-- 引入bootstrap.css -->
<link rel="stylesheet" href="./css/bootstrap.css">
<!-- 引入bootstrap.js -->
<script src="./js/bootstrap.js"></script>
</head>
<body>
<!-- 头部 -->
<div class="container-fluid bg-light sticky-top">
<div class="container">
<nav class="navbar navbar-expand-lg bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="./index.html">HELLO</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./index.html">首页</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./boutique.html">精品</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="./free.html">免费</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="./free.html">关于</a>
</li>
<li class="nav-item">
<!-- <a class="nav-link disabled">Disabled</a> -->
<form class="d-flex" role="search" action="https://www.baidu.com/s" method="get">
<input class="form-control me-2" type="search" placeholder="搜索您感兴趣的内容..." name="wd">
<!-- <button class="btn btn-outline-success" type="submit" style="width: 100px;">搜索</button> -->
</form>
</li>
</ul>
<div>
<button class="btn btn-outline-success" type="button" data-bs-toggle="modal"
data-bs-target="#login">登录</button>
<button class="btn btn-success" type="button" data-bs-toggle="modal"
data-bs-target="#register">注册</button>
</div>
</div>
</div>
</nav>
</div>
</div>
<!-- 轮播 -->
<div class="container mt-3">
<div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active"
aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1"
aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2"
aria-label="Slide 3"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active" data-bs-interval="10000">
<img src="./images/1.jpg" class="d-block img-fluid w-100" alt="1">
<div class="carousel-caption d-none d-md-block">
<h5>First slide label</h5>
<p>Some representative placeholder content for the first slide.</p>
</div>
</div>
<div class="carousel-item" data-bs-interval="2000">
<img src="./images/2.jpg" class="d-block img-fluid w-100" alt="2">
<div class="carousel-caption d-none d-md-block">
<h5>Second slide label</h5>
<p>Some representative placeholder content for the second slide.</p>
</div>
</div>
<div class="carousel-item" data-bs-interval="2000">
<img src="./images/3.jpg" class="d-block img-fluid w-100" alt="3">
<div class="carousel-caption d-none d-md-block">
<h5>Third slide label</h5>
<p>Some representative placeholder content for the third slide.</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<!-- 精品 -->
<div class="container mt-5">
<div class="boutique-title d-flex justify-content-between">
<h2>精品</h2>
<a href="###">查看更多</a>
</div>
<div class="boutique-list">
<div class="row">
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 免费 -->
<div class="container mt-5">
<div class="free-title d-flex justify-content-between">
<h2>免费</h2>
<a href="###">查看更多</a>
</div>
<div class="free-list">
<div class="row">
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-xl-3 col-md-6 col-sm-12 mb-3">
<div class="card">
<img src="./images/1.jpg" class="card-img-top" alt="1">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 友情链接 -->
<div class="container mt-5">
<div class="row">
<div class="col-xl-6 col-sm-12 mb-5">
<h2>友情链接</h2>
<div>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
</div>
</div>
<div class="col-xl-6 col-sm-12 mb-5">
<h2>友情链接</h2>
<div>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
<a href="###">baidu.com</a>
</div>
</div>
</div>
</div>
<!-- 尾部 -->
<div class="container mb-5">
<div class="text-center">© 2021 hellom.run 鄂ICP备20003502号-1</div>
</div>
<!-- 登录弹窗 -->
<div class="modal fade" id="login" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">登录</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form action="https://www.baidu.com/?s=" method="get">
<div class="modal-body">
<div class="mb-3">
<label for="username" class="col-form-label">帐号:</label>
<input type="text" class="form-control" id="username">
</div>
<div class="mb-3">
<label for="password" class="col-form-label">密码:</label>
<input type="password" class="form-control" id="password">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" id="close">关闭</button>
<input type="submit" class="btn btn-primary" value="登录" id="loginBnt"/>
</div>
</form>
</div>
</div>
</div>
<!-- 注册弹窗 -->
<div class="modal fade" id="register" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">注册</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form action="https://www.baidu.com/?s=" method="get">
<div class="modal-body">
<div class="mb-3">
<label for="username" class="col-form-label">帐号:</label>
<input type="text" class="form-control" id="username">
</div>
<div class="mb-3">
<label for="password" class="col-form-label">密码:</label>
<input type="password" class="form-control" id="password">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">关闭</button>
<input type="submit" class="btn btn-primary" value="注册"/>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化