Having meticulously followed the guidelines outlined in the flowtype demo from steps 1 to 4, I find myself facing an issue.
Upon loading my page, I am confronted with oversized fonts. Utilizing Chrome on a PC with a resolution of 1920*1200, I have examined my H1
element using the developer tools at full screen.
In reviewing the font-size
property inheritance for my page, I note an initial value of 18px
as specified in Step 1. However, this is quickly overtaken by a value of 40px
from what appears to be the "user agent stylesheet," potentially attributed to the inclusion of the flowtype.js
script mentioned earlier in Step 1. Subsequently, setting H1
to 4em
, we arrive at a staggering font size of 160px
!
Despite following the recommended script placement from step 4 leading to responsive resizing as I adjust the window, the root cause behind the immense starting fonts eludes me.