CSS Overriding Issue

Please check the video, I dont know from where this H1 is coming as I have changed its size, and I want the text to be in big size but how and from where this default h1 of 2em is coming? On Firefox and even on Codepen attached below, it is looking fine, but on chrome I dont know whats the problem. Thanks, Hamza N. https://codepen.io/hamzacodepen951/pen/KKJZJXN
11 Replies
MarkBoots
MarkBoots7mo ago
I think from the style tag in your html
No description
MarkBoots
MarkBoots7mo ago
otherwise, you'll need to share some actual code (preferably in a working codepen)
Hamza Naeem
Hamza Naeem7mo ago
codepen is already attached above, please check
MarkBoots
MarkBoots7mo ago
in the codepen I can not see that style tag. so I guess there lays the issue
Hamza Naeem
Hamza Naeem7mo ago
Yes true I didnot use style tag anywhere
MarkBoots
MarkBoots7mo ago
can you show the page-source instead of the inspector. I suspect something is inserting this code (perhaps a browser extension?) otherwise, try it in a different browser
Hamza Naeem
Hamza Naeem7mo ago
maybe in code pen works fine in firfox works fine as well
MarkBoots
MarkBoots7mo ago
then you'll have to check your extensions. it's not a coding issue
Hamza Naeem
Hamza Naeem7mo ago
Thank you, it was extension problem solved now By the way, why it happened, wanted to know for knowledge.
MarkBoots
MarkBoots7mo ago
well something is inserting those style codeblocks. probably inside there is a css declaration for h1 with the !important keyword. But that is only speculation from my side because i can not see it
Hamza Naeem
Hamza Naeem7mo ago
ok thank you