css_sduty/10_CSS常用字体属性/05_字体复合属性.html

29 lines
857 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>05_字体复合属性</title>
<style>
/* font: 风格 粗细 字体大小 (放在字体族之前一个) 字体族 (放在最后)*/
.zyjblogs1 {
font: bold italic 100px "YaHei Monaco Hybird","宋体",sans-serif;
}
.zyjblogs2 {
}
.zyjblogs3 {
}
.zyjblogs4 {
}
.zyjblogs5 {
}
</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>