css_sduty/10_CSS常用字体属性/02_字体族.html

37 lines
1009 B
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>02_字体族</title>
<style>
.zyjblogs1 {
font-size: 22px;
font-family: "微软雅黑";
}
.zyjblogs2 {
font-size: 22px;
font-family: "楷体";
}
.zyjblogs3 {
font-size: 22px;
font-family: "宋体";
}
.zyjblogs4 {
font-size: 22px;
font-family: "华文彩云";
}
.zyjblogs5 {
font-size: 22px;
font-family: "YaHei Monaco Hybird","微软雅黑",sans-serif;
}
</style>
</head>
<body>
<div class="zyjblogs1">逝水无痕1 nicemoe</div>
<div class="zyjblogs2">逝水无痕2</div>
<div class="zyjblogs3">逝水无痕3</div>
<div class="zyjblogs4">逝水无痕4</div>
<div class="zyjblogs5">逝水无痕5 nicemoe</div>
</body>
</html>