How often is the default font size in the browser not 16px?

前端 未结 3 1735
忘掉有多难
忘掉有多难 2021-01-04 04:41

After writing a great big answer to the question Is it bad to work with pixels in CSS? in which I concluded that there\'s normally nothing wrong with it provided you underst

3条回答
  •  盖世英雄少女心
    2021-01-04 05:29

    This avoids answering your question, but IMHO such statistics shouldn't matter even if it were near zero percent.

    Even if 16px were the de-facto standard, you should start from the position that this is something that the designer doesn't ultimately control, and it should be left up to the user to choose their font size. Your decision process should lead to designs that are flexible based on the user's needs.

提交回复
热议问题