html代码
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>测试标题css样式</title>
</head>
<body>
<div class="box">
<h1>测试标题css样式</h1>
</div>
</body>
<style>
.box {
width: 100vw;
height: 100vh;
background: #c6c6c6;
h1 {
text-align: center;
letter-spacing: 5px;
color: #f38989;
text-shadow: 1px -1px #fff, -1px 1px #999, -6px 6px 5px #80808080;
}
}
</style>
</html>