<input> doesn't inherit the font from <body>

前端 未结 4 1417
难免孤独
难免孤独 2020-11-29 00:42

I have input and label fields:




        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 00:52

    I've had the same problem. What worked for me was adding the style directly to the input element in the html. I'm coding in React fyi.

提交回复
热议问题