Search code examples
cssgoogle-chromefont-family

font-family is inherit. How to find out the font-family in chrome developer pane?


In the Chrome's developer pane, I can see these css settings of an element.

enter image description here

As far as I can see, every single font-family value is inherit.

How can I find what is the actual value of the font family? And how can I trace the definition of the root font-family value come from the inheritance hierarchy?


Solution

  • Developer Tools > Elements > Computed > Rendered Fonts

    The picture you attached to your question shows the Style tab. If you change to the next tab, Computed, you can check the Rendered Fonts, that shows the actual font-family rendered.

    Developer Tools > Elements > Computed > Rendered Fonts