响应式 HTML/CSS 模板,同时面向移动端与桌面端
project-website-template — HTML 作品集模板
作者 yenchiah
基于 HTML/CSS 的响应式项目与个人网站模板,含多种布局页面、jQuery 小部件,以及独立的菜单与页脚加载机制。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
提供 empty.html 空白起点与 index.html 多种布局示例
widgets.html 提供基于 jQuery 与 jQuery UI 的交互小部件
菜单栏与页脚分别由 menu.html、footer.html 通过脚本载入,便于统一维护
建议把自定义样式与脚本放在 custom.css、custom.js,避免改动核心文件
模板详细介绍
这是一个面向项目网站或个人主页的 HTML/CSS 模板,强调响应式(移动端与桌面端)与轻量。仓库提供 empty.html 作为空白起点,index.html 汇集多种布局示例,widgets.html 则给出基于 jQuery 与 jQuery UI 的交互小部件。若网站不需要复杂用户交互,README 建议从 empty.html 开始,并从 index.html 复制所需布局代码。
从 3.0 版起,顶部菜单栏被抽到 menu.html,3.37 版起底部页脚抽到 footer.html,各页面通过 jQuery 脚本把 menu.html 载入 menu-container、把 footer.html 载入 footer-container,从而统一管理导航与页脚。为了便于后续更新模板,README 建议把自定义代码放在 custom.css 与 custom.js,避免修改 frame.css、controls.css、widgets.css、widgets.js、util.js、menu.js、footer.js 等核心文件。
README 列出了已知问题:移动端 Safari 上打开顶部菜单后无法关闭,原因是菜单图标在触摸后保留焦点、而菜单依赖失焦事件关闭;Safari 上让用户选择照片的调查题在勾选复选框后照片显示异常,原因未知。未来计划增加用于展示图片或视频的幻灯片区块。模板在 macOS 与移动端的多款浏览器上做过测试。
适合你的项目吗?
适用场景
- 搭建实验室、研究项目或会议的介绍型网站
- 制作个人主页并展示作品或项目列表
- 需要少量交互组件(如调查问卷、小部件)的静态站点
- 希望用纯 HTML/CSS 起步、后续再逐步扩展的网站
适合人群
- 不需要复杂用户交互的项目或个人网站
- 能直接编辑 HTML/CSS 并接受 jQuery 依赖的开发者
- 希望保留模板可更新性、把自定义代码单独存放的团队
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
从 empty.html 开始,或参考 index.html 复制所需布局代码
- 2
页面中引入 js/menu.js 与 js/footer.js,并保留 menu-container、footer-container 容器
- 3
自定义样式与脚本写入 custom.css 和 custom.js,不要修改 frame.css、controls.css、widgets.css、widgets.js、util.js、menu.js、footer.js
- 4
使用 widgets.html 中的小部件时需引入 jQuery 与 jQuery UI
- 5
移动端 Safari 存在菜单打开后无法关闭的已知问题,Safari 上照片选择类调查题显示异常
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 BSD-2-Clause 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用以及源代码或二进制形式的分发。
- 源代码分发需保留版权声明、两项条件和免责声明;二进制分发需在文档或随附材料中重现这些内容。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- README 建议将自定义代码放在 custom.css 与 custom.js,并避免修改 frame.css、controls.css、widgets.css、widgets.js、util.js、menu.js、footer.js 等核心文件,以便后续更新模板。
- 贡献政策要求:不要未经讨论就提交修改模板现有设计的 PR,也不要提交与缺陷修复或功能增强无关的 PR。
- README 不鼓励编辑其文本内容(例如修正语法错误),此类 PR 可能被标记为 spam 或 invalid。
- 提交 PR 时必须说明设计决策或缺陷修复方式,缺少说明的 PR 很可能被拒绝并标记为 wontfix。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 BSD-2-Clause 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Redistribution and use in source and binary forms, with or without modification, are permitted
许可证原文
please keep your codes in separate files (custom.css and custom.js) and avoid modifying the following:
README 原文
please avoid submitting pull requests (PRs) that modify the template's existing design without discussing them with me
README 原文
Editing text in the README file is not encouraged
README 原文
https://github.com/yenchiah/project-website-template/blob/master/LICENSEhttps://github.com/yenchiah/project-website-template/blob/master/README.mdPRs with no explanations will highly likely be rejected and marked as "wontfix".
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 85 / 100
- 技术栈
- HTML
- 网站类型
- 作品集
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-03-17
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 8fa605515aed76aeb940dfcdd8acea6631fa7dfe60b4810c92aeb985b4239400
2026-10-02T08:41:48.375Z
来源文件 / 仓库# project-website-template Demo: https://yenchiah.github.io/project-website-template/ The current version is v3.43. The last known stable version is [v3.36](https://github.com/yenchiah/project-website-template/tree/277205cb699b02f3f7ba5f9f6ea20d987582c5bf). This is a responsive (mobile/desktop) and light-weight HTML/CSS template for building projects or personal websites. If your website does not require complex user interactions, I recommend starting with the empty template (empty.html) and copy codes from the file that contains different layouts (index.html). For building interactive websites, this library also provides several widgets (widgets.html) based on [jQuery](https://jquery.com/) and [jQuery UI](https://jqueryui.com/). Examples that use this template are: - Personal website: [http://yenchiah.me](http://yenchiah.me) (Link to [code repository](https://github.com/yenchiah/yenchiah.github.io)) - Project website: [http://smellpgh.org](http://smellpgh.org) (Link to [code repository](https://github.com/CMU-CREATE-Lab/smell-pittsburgh-website)) - Project website: [https://smellmycity.org](https://smellmycity.org) (Link to [code repository](https://github.com/CMU-CREATE-Lab/smell-my-city-website)) - Project website: [https://smoke.createlab.org](https://smoke.createlab.org) (Link to [code repository](https://github.com/CMU-CREATE-Lab/video-labeling-tool)) - Project website: [https://periscope.io.tudelft.nl](https://periscope.io.tudelft.nl) (Link to [code repository](https://github.com/TUD-KInD/COCTEAU-TUD)) - Lab website: [https://multix-amsterdam.github.io/](https://multix-amsterdam.github.io/) (Link to [code repository](https://github.com/MultiX-Amsterdam/multix-amsterdam.github.io)) - Conference website: [https://www.mmm2024.org/](https://www.mmm2024.org/) (Link to [code repository](https://github.com/MultiX-Amsterdam/MMM24-website)) If you would love to keep updating this template, please keep your codes in separate files (custom.css and custom.js) and avoid modifying the following: - css/frame.css (CSS for the main frame of the website) - css/controls.css (CSS for control elements that do not require JavaScript) - css/widgets.css (CSS for widgets that require JavaScript) - js/widgets.js (JavaScript for widgets) - js/util.js (JavaScript for general utility functions) - js/menu.js (JavaScript for loading the menu bar) - js/footer.js (JavaScript for loading the footer) From version 3.0, the menu bar at the top is moved into `menu.html` for better management. Also, from version 3.37, the footer at the bottom is moved into `footer.html`. Each template page will now use jQuery to load the menu bar and the footer, as shown below: ```html <script src="js/menu.js"></script> <script src="js/footer.js"></script> ``` The `menu.js` script loads `menu.html` to `menu-container`. ```html <div class="menu-container"></div> ``` The `footer.js` script loads `footer.html` to `footer-container`. ```html <div class="footer-container"></div> ``` This template is tested and worked on: - macOS 12.4 - Chrome 103 - Safari 15.5 - Firefox 103 - Edge 103 - Android 12 - Chrome 103 - iOS 15.5 - Chrome 103 - Safari 15.5 - Firefox 102 # Problems and Bugs Here are the problems and bugs that I plan to address in the future. If you fixed them, please do not hesitate to send me a pull request, and I would be very grateful. Please also report problems and bugs in [GitHub Issues](https://github.com/yenchiah/project-website-template/issues). - On mobile Safari, the menu on the top will not close after opening it. This is because the menu icon on mobile Safari retains focus after a touch event, and the menu relies on the loss of focus event of the icon to close. - On Safari, the survey question that asks users to select photos will display the photos in a weird way after clicking on the checkbox. The reason for this problem is unknown. # Future Plans for Feature Enhancement Here are several features that I plan to add in the future. If you wish to contribute, please email me to discuss the design before submitting pull requests. - A slideshow block for showing images or videos # Policy for Open Source Contribution I welcome and appreciate contributions in fixing bugs and enhancing features. However, please avoid submitting pull requests (PRs) that modify the template's existing design without discussing them with me. Please do not submit PRs that are not related to bug fixes or feature enhancements. Editing text in the README file is not encouraged (e.g., fixing grammar errors). PRs with unnecessary editing (e.g., adding unrelated text, changing the design of the template, modifying the README text arbitrarily) or unrelated changes (e.g., changes that are related to only their applications) will be marked as "spam" and "invalid". If you are excited to contribute to the new features directly, please explain your design decisions and how your design matches this template's style in the PR. If you fix bugs, please explain which bug you fixed and how you fixed them. The explanations that you put in each PR can greatly help me determine if the changes can be merged into the master branch. PRs with no explanations will highly likely be rejected and marked as "wontfix".
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

simplefolio
⚡️ A minimal portfolio template for Developers
HTML · 作品集

Freelancer
Freelancer 是 Start Bootstrap 出品的单页作品集模板,专为自由职业者、设计师和小型工作室设计。 页面结构清晰,包含多个内容区块、响应式作品集网格,每个作品项目配有模态窗口展示详情。
HTML · 作品集

Resume
Resume 是 Start Bootstrap 推出的简历与 CV 主题,基于 Bootstrap 构建,采用固定侧边栏加内容区块的结构。
HTML · 作品集

Creative
Creative 是 Start Bootstrap 团队维护的一款单页营销模板,定位明确:为创意机构或产品服务提供一个以作品展示和行动号召为核心的落地页。
HTML · 企业官网

Grayscale
Grayscale 是 Start Bootstrap 出品的深色系单页 HTML 模板,基于 Bootstrap 构建。 它的视觉重心放在大尺寸首屏和清晰的内容分区上,整体氛围偏暗,适合摄影、活动或品牌叙事类网站。
HTML · 企业官网

startbootstrap-stylish-portfolio
Stylish Portfolio 是 Start Bootstrap 维护的单页作品集主题,基于 Bootstrap 构建,采用多个内容区块加离屏导航菜单的结构。
HTML · 作品集
