<!-- 墨桅博客 https://www.jetmast.com -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
width: 300px;
max-width: 100%;
text-align: left;
}
.card-header {
background-color: #e9ecef;
color: #183153;
padding: 16px;
}
.card-header h2 {
margin: 0;
font-size: 1.5rem;
}
.card-content {
padding: 16px;
}
.card-content p {
margin: 0;
color: #333;
line-height: 2;
}
.button {
display: inline-block;
padding: 8px 16px;
margin-top: 16px;
background-color: #8ca86d;
color: #fff;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s ease-in-out;
}
.button:hover {
background-color: #728c5e;
}
</style>
<title>墨桅博客</title>
</head>
<body>
<div class="card">
<div class="card-header">
<h2>墨桅博客</h2>
</div>
<div class="card-content">
<p>简单而优雅的开源 Markdown 编辑器</p>
<p>Github 开源地址: <a href="https://www.jetmast.com/" target="_blank">https://www.jetmast.com/</a></p>
<p>官网: <a href="https://www.jetmast.com/" target="_blank">https://www.jetmast.com/</a></p>
<p>支持平台: Linux, macOS 以及 Windows</p>
<a href="https://www.jetmast.com/" class="button" target="_blank">了解更多</a>
</div>
</div>
</body>
</html>![图片[1]-CSS 设置卡片(card)样式 -墨桅博客](https://img.jetmast.com/wp_blog/2026/07/20260714034223793.png)
© 版权声明
THE END
















暂无评论内容