<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>rem</title>
<meta name="Keywords" content="关键字">
<meta name="description" content="简介">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
ul, ol {
list-style: none;
}
@font-face {
font-family: "caoshu";
src: url("fonts/caoshu.TTF");
}
html {
font-size: 100px;
}
.box {
font-family: "caoshu";
width: 3.75rem;
height: 2rem;
background-color: aqua;
font-size: .7rem;
text-align: center;
}
</style>
</head>
<body>
<div class="box">雪中悍刀行</div>
</body>
</html>
CSS rem
最新推荐文章于 2024-07-24 22:39:14 发布