Home > Article > Web Front-end > Why Don't `` and `` Inherit Font Properties from `` and How to Fix It?
Why Do
You may have noticed that the
Certain input elements, including
To override this behavior and apply the desired font properties from
, add the following CSS rules:textarea { font-family: inherit; font-size: inherit; }
By adding this to your CSS, you instruct the browser to inherit the font properties specified in the
rule for the