Tagged: #fontsize #px #rem
Hi there, I’m looking at the CSS stylesheet of the Genesis sample theme and noticed that font-sizes for h1, h2, h3, h4, h5, h6 are all stated in both px and rem. Eg.
I don’t understand why this is so? Why not just use either unit of measurement instead of both?
Hoping somebody will explain this to me, thanks.
Its used as a fallback for some browsers.
WP Sites –
500+ StudioPress Tutorials
You’re right. I found this article that explains further: http://snook.ca/archives/html_and_css/font-size-with-rem
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.