CSS: set font weight depending on fallback font

后端 未结 2 1904
一个人的身影
一个人的身影 2021-01-05 04:50

I am trying to set the font-weight for an element based on the font that gets chosen. For example, I may be trying to do something like this:

h1 {
    font-f         


        
2条回答
  •  既然无缘
    2021-01-05 05:05

    Won't this work? Untested.

    
    

提交回复
热议问题