What's the ideal relationship between line-height, font-size, and paragraph margin?

前端 未结 2 398
我在风中等你
我在风中等你 2020-12-31 22:36

For a long time I\'ve noticed that adjusting line-height and adding some extra space between paragraphs both relative to the chosen font-size can m

2条回答
  •  爱一瞬间的悲伤
    2020-12-31 23:17

    A deep and mathematical answer to your question can be found at "Secret Symphony: The Ultimate Guide to Readable Web Typography": http://www.pearsonified.com/2011/12/golden-ratio-typography.php

    The article takes into account three dimensions: line height, font height adn page width (well, text width) and luckily they also provide a useful calculator: Golden Ratio Typography Calculator (http://www.pearsonified.com/typography/)

提交回复
热议问题