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

CSS font-weight all in one

CSS font-weight all in one

font-weight: bolder;✅ 没毛病呀!

/* 关键字值 */
font-weight: normal;
font-weight: bold;

/* 相对于父级的关键字值 */
font-weight: lighter;
font-weight: bolder;

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


/* Keyword values */
font-weight: normal;
font-weight: bold;

/* Keyword values relative to the parent */
font-weight: lighter;
font-weight: bolder;

/* Numeric keyword values */
font-weight: 100;
font-weight: 200;
font-weight: 300;
font-weight: 400;// normal
font-weight: 500;
font-weight: 600;
font-weight: 700;// bold
font-weight: 800;
font-weight: 900;

/* Global values */
font-weight: inherit;
font-weight: initial;
font-weight: unset;

refs



©xgqfrms 2012-2020

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


posted @ 2020-09-29 07:59  xgqfrms  阅读(140)  评论(1编辑  收藏  举报