此CSS代码是什么意思字体大小划分?

问题描述

| 抱歉,我的问题确实找不到更好的标题。 我遇到了这段代码
font: 9pt/18px Tahoma;
你知道那是什么意思吗     

解决方法

        是。这是将
font-size
line-height
一起写的一种简便方法。     ,        
/* The shorthand */
font: 9pt/18px Tahoma;

/* The expanded version of the above style */
font-size:9pt;
line-height:18px;
font-family:Tahoma;
    ,        使用简写形式进行字体声明时,它是字体大小和行高。因此9pt字体大小和18px行高。     ,        第一个单位是字体大小,第二个单位是行高。     

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...