<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Embedded CSS Page</title>
<style>
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f8fafc;
margin: 0;
padding: 30px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.card {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
max-width: 650px;
width: 100%;
}
h1 {
color: #1e40af;
margin-top: 0;
font-size: 1.8rem;
}
p {
color: #334155;
line-height: 1.7;
font-size: 1.05rem;
}
</style>
</head>
<body>
<div class="card">
<h1>Welcome to My Styled Page</h1>
<p>This is a simple HTML page with embedded CSS (no external files!). The styling includes a soft background, a clean card container with subtle shadow, and readable typography. It works on all devices thanks to the viewport meta tag, and all styles are directly inside the HTML file.</p>
</div>
</body>
</html>


作者声明:本文包含人工智能生成内容。