Streaming live at 10am (PST)

Using EMs instead of pixels


#1

In order to use EMs in webflow what sets the base font size?


#2

16px is the default size for browsers, but I believe webflow overides it in it's body tag in the webflow.css, as when you export a site you'll see that the body tag is set to Arial at 14px if you haven't edited the body tag. So, hence to change it you need to set your own body class in the editor order to overide it. Otherwise by default in webflow 1em = 14px


#3

That's what I thought but I had some odd things happening with sizing. Turns out I just had a typ0 stuck_out_tongue_closed_eyes


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.