css_sduty/10_CSS常用字体属性/03_字体风格.html

37 lines
1.0 KiB
HTML

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