news 2026/4/28 6:30:10

静态页面仿写

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
静态页面仿写

成果图

相关代码

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>质量管理与评估中心</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "微软雅黑", sans-serif;
}
.top-banner {
background-color: #1a365d;
color: white;
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 50px;
}
.logo-title {
display: flex;
align-items: center;
gap: 15px;
}
.logo {
width: 100%;
height: 80px;
border-radius: 50%;
overflow: hidden;
}
.logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.title h1 {
font-size: 22px;
font-weight: normal;
}
.title p {
font-size: 14px;
opacity: 0.9;
}
.search-box {
display: flex;
align-items: center;
gap: 5px;
}
.search-box input {
padding: 6px 10px;
border: none;
border-radius: 4px;
outline: none;
}
.search-box button {
background-color: #3b82f6;
color: white;
border: none;
width: 36px;
height: 36px;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.nav {
background-color: #1e40af;
display: flex;
justify-content: center;
}
.nav ul {
list-style: none;
display: flex;
}
.nav a {
color: white;
text-decoration: none;
padding: 15px 35px;
display: block;
font-size: 15px;
}
.nav a:hover {
background-color: #1e3a8a;
}
.carousel {
width: 100%;
overflow: hidden;
position: relative;
}
.carousel img {
width: 100%;
height: auto;
display: block;
}
.carousel .dots {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
}
.carousel .dot {
width: 12px;
height: 12px;
background-color: rgba(255,255,255,0.7);
border-radius: 50%;
cursor: pointer;
}
.carousel .dot.active {
background-color: white;
}
</style>
</head>
<body>
<div class="top-banner">
<div class="logo-title">
<div class="logo">
<img src="https://p9-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/eabe46e3861c405fbca9621e22d3df7f.png~tplv-a9rns2rl98-image.png?lk3s=8e244e95&rcl=20260120193240F59CB7754C9795062BE4&rrcfp=dafada99&x-expires=2085132760&x-signature=bjZzi6aoFmQo%2BsJgcRAIPAWxe%2FA%3D" alt="南宁理工学院校徽">
</div>
<div class="title">
<h1>质量管理与评估中心</h1>
<p>Quality Management and Evaluation Center,Nanning College of Technology</p>
</div>
</div>
<div class="search-box">
<input type="text" placeholder="搜索...">
<button>🔍</button>
</div>
</div>

<nav class="nav">
<ul>
<li><a href="#">网站首页</a></li>
<li><a href="#">机构设置</a></li>
<li><a href="#">质量监控</a></li>
<li><a href="#">教学评估</a></li>
<li><a href="#">文件制度</a></li>
<li><a href="#">下载中心</a></li>
<li><a href="#">学校首页</a></li>
</ul>
</nav>

<div class="carousel">
<img src="https://p3-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/080839d3ccd748ed85b5ee06ee72ba10.png~tplv-a9rns2rl98-image.png?lk3s=8e244e95&rcl=20260120192508CEB9B652F9E23109EA1B&rrcfp=dafada99&x-expires=2085132308&x-signature=XxfLKRvXn8aZr8woaffPUCid9I0%3D" alt="南宁理工学院大门">
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
</div>
</div>
</body>
</html>

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/23 14:02:52

电子课本下载神器:一键获取官方教材的终极解决方案

电子课本下载神器&#xff1a;一键获取官方教材的终极解决方案 【免费下载链接】tchMaterial-parser 国家中小学智慧教育平台 电子课本下载工具 项目地址: https://gitcode.com/GitHub_Trending/tc/tchMaterial-parser 在数字化教育快速发展的今天&#xff0c;国家中小学…

作者头像 李华
网站建设 2026/4/25 1:16:47

RevokeMsgPatcher:消息防撤回的终极完整指南

RevokeMsgPatcher&#xff1a;消息防撤回的终极完整指南 【免费下载链接】RevokeMsgPatcher :trollface: A hex editor for WeChat/QQ/TIM - PC版微信/QQ/TIM防撤回补丁&#xff08;我已经看到了&#xff0c;撤回也没用了&#xff09; 项目地址: https://gitcode.com/GitHub_…

作者头像 李华
网站建设 2026/4/18 10:53:02

DepthCrafter:免费生成视频深度序列的强大开源工具

DepthCrafter&#xff1a;免费生成视频深度序列的强大开源工具 【免费下载链接】DepthCrafter DepthCrafter是一款开源工具&#xff0c;能为开放世界视频生成时间一致性强、细节丰富的长深度序列&#xff0c;无需相机姿态或光流等额外信息。助力视频深度估计任务&#xff0c;效…

作者头像 李华
网站建设 2026/4/18 7:39:04

Unsloth提速Gemma 3:免费高效微调12B大模型

Unsloth提速Gemma 3&#xff1a;免费高效微调12B大模型 【免费下载链接】gemma-3-12b-it-GGUF 项目地址: https://ai.gitcode.com/hf_mirrors/unsloth/gemma-3-12b-it-GGUF 导语&#xff1a;Unsloth工具与Google Gemma 3 12B模型的结合&#xff0c;为开发者提供了免费且…

作者头像 李华
网站建设 2026/4/18 10:05:41

ViVeTool GUI终极指南:5步解锁Windows隐藏功能

ViVeTool GUI终极指南&#xff1a;5步解锁Windows隐藏功能 【免费下载链接】ViVeTool-GUI Windows Feature Control GUI based on ViVe / ViVeTool 项目地址: https://gitcode.com/gh_mirrors/vi/ViVeTool-GUI 想要探索Windows系统中那些官方尚未正式发布的神奇功能吗&a…

作者头像 李华
网站建设 2026/4/18 5:41:18

FLUX新LoRA:一键让虚拟人物秒变真人

FLUX新LoRA&#xff1a;一键让虚拟人物秒变真人 【免费下载链接】kontext-make-person-real 项目地址: https://ai.gitcode.com/hf_mirrors/fofr/kontext-make-person-real 导语&#xff1a;FLUX模型家族再添新成员&#xff0c;名为"kontext-make-person-real&quo…

作者头像 李华