<head>
<style>
@font-face {
font-family: 'Century Gothic';
src: url('~/Content/font/Century Gothic.ttf') format('truetype');
}
</style>
</head>
<body style="font-family: 'Century Gothic';">
</body>
CSS使用自定义字体(@font-face)
最新推荐文章于 2025-06-12 17:12:13 发布
本文介绍了一种使用自定义字体的方法,通过@font-face规则引入特定字体文件,并应用于网页内容中。
345

被折叠的 条评论
为什么被折叠?



