xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

CSS `@font-face` & font-family All In One

CSS @font-face & font-family All In One

@font-face & font-family

@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"), url("/fonts/OpenSans-Regular-webfont.woff")
      format("woff");
}

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

/* A font family name and a generic family name */
font-family: "Gill Sans Extrabold", sans-serif;
font-family: "Goudy Bookletter 1911", sans-serif;

/* A generic family name only */
font-family: serif;
font-family: sans-serif;
font-family: monospace;
font-family: cursive;
font-family: fantasy;
font-family: system-ui;
font-family: ui-serif;
font-family: ui-sans-serif;
font-family: ui-monospace;
font-family: ui-rounded;
font-family: emoji;
font-family: math;
font-family: fangsong;

/* Global values */
font-family: inherit;
font-family: initial;
font-family: revert;
font-family: revert-layer;
font-family: unset;


https://developer.mozilla.org/en-US/docs/Web/CSS/font-family

CSS @import


@import url;
@import url list-of-media-queries;
@import url supports( supports-query );
@import url supports( supports-query ) list-of-media-queries;
@import url layer;
@import url layer( layer-name );
@import url layer( layer-name ) list-of-media-queries;
@import url layer( layer-name ) supports( supports-query ) list-of-media-queries;


https://developer.mozilla.org/en-US/docs/Web/CSS/@import

https://www.w3schools.com/cssref/pr_import_rule.php

cnblogs comments bug???

css @import*

refs

vue components @import css bug All In One

https://www.cnblogs.com/xgqfrms/p/9927590.html



©xgqfrms 2012-2025

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @   xgqfrms  阅读(42)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2020-10-24 垂钓技能:子线双钩绑法教程 AlI In One
2020-10-24 self-publishing ebook guide all in one
2020-10-24 Android Jetpack All In One
2020-10-24 Android Activity All In One
2019-10-24 code review & github & gitlab
2019-10-24 chrome cookie 读写插件
2019-10-24 react slot component with args All In One
点击右上角即可分享
微信分享提示