【问题标题】:CSS font sizes in Paint.NETPaint.NET 中的 CSS 字体大小
【发布时间】:2022-04-01 04:01:09
【问题描述】:

css:

.lnk { font-size:0.9em; color:#0000CC; font-family:Courier New; }

如何在 Paint.NET 中获得与此等效的内容?

我偶然发现了这个指南:

100% = 1.0em = 16px = 15pt
95% = 0.95em = 15px = 14pt
90% = 0.9em = 14px = 13pt
85% = 0.85em = 13px = 12pt
80% = 0.8em = 12px = 11pt
75% = 0.75em = 11px = 10pt
70% = 0.7em = 10px = 9pt
65% = 0.65em = 9px = 8pt

但似乎不正确。

(有点像this

【问题讨论】:

    标签: css fonts


    【解决方案1】:

    1 em 对应的大小取决于文档的默认字体大小。

    理论上,0.9 em = 0.9 * 默认字体大小(通常为 12pt)。

    这里似乎解释得很好:http://www.thesug.org/blogs/kyles/Lists/Posts/Post.aspx?ID=22

    【讨论】:

      猜你喜欢
      • 2013-08-04
      • 1970-01-01
      • 2012-06-03
      • 1970-01-01
      • 2011-05-26
      • 1970-01-01
      • 1970-01-01
      • 2015-03-17
      • 2012-06-19
      相关资源
      最近更新 更多