I
I
Islam Ibakaev2017-02-12 22:02:28
css
Islam Ibakaev, 2017-02-12 22:02:28

Why do some frameworks (bootstrap, bulma) set html font-size to 14px?

It's just that the default is 16px. I know it's not always the case, but most of the time.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
Janny, 2017-02-12
@Genuas

He looks better that way, I guess.

A
Alexey Nikolaev, 2017-02-13
@Heian

I guess the reason is that these days more sites are built on a 100% layout match rather than Content First. Accordingly, more often they will set a fixed size, rather than remain at the default.
And why specifically 14 - and why the default is 16? 14 is a kind of standard, most sites use this size. Perhaps this is a typographical standard, but I'm not sure here. Magic numbers everywhere...

R
Roman Yamchuk, 2017-02-13
@tomgif

The font-size set on the html is the resulting size of 1rem (root em). In responsive layout best practices, Rem is used to specify sizes and fonts, font-size set to body (Em) is used for responsive grids.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question