GitHub

flat design website template、minimalist websitestellar, strata)agency, grayscale)开源模板网站
ThemeForest
https://themeforest.net
搜索"Flat Design"或"Minimal",推荐主题:

Creative Market
https://creativemarket.com
设计师作品集市,搜索"flat website template"。
<!DOCTYPE html>
<html>
<head>扁平化设计示例</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f5f5f5;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 40px;
}
header {
text-align: center;
padding: 60px 0;
background: #4CAF50;
color: white;
}
h1 { font-size: 2.5em; }
.card {
background: white;
padding: 30px;
margin: 20px 0;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
button {
background: #2196F3;
color: white;
border: none;
padding: 12px 24px;
border-radius: 4px;
cursor: pointer;
}
</style>
</head>
<body>
<header>
<h1>扁平化设计</h1>
<p>简洁、清晰、现代</p>
</header>
<div class="container">
<div class="card">
<h2>核心特点</h2>
<ul>
<li>无装饰阴影</li>
<li>纯色块设计</li>
<li>清晰的信息层级</li>
</ul>
</div>
<button>了解更多</button>
</div>
</body>
</html>
说明:此代码可直接保存为
.html文件在浏览器中打开,展示基础扁平化布局。
建议优先从 HTML5 UP 或 GitHub 免费资源开始,若需专业级设计再考虑付费平台。
