<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>图标演示</title>
<link rel="stylesheet" href="./stt.css">
</head>
<body>
<span class="iconfont icon-cs-xx-1"></span>
<span class="iconfont icon-ico_star"></span>
</body>
</html>
CSS样式
@import url("./font_icon/iconfont.css");
.icon-ico_star {
font-size: 3em;
color: aqua;
}
.icon-cs-xx-1 {
font-size: 8rem;
color: rgb(0, 255, 115);
}
</html>