leading-trim<\/code>. <\/p>\n\n\n\nOne of the amazing things about web languages is that we all have an ability to participate. If this seems like a feature you would like to see as part of CSS, you have the ability to drop in and add a comment to that thread to let your voice be heard.<\/p>\n","protected":false},"excerpt":{"rendered":"
In CSS, line-height is probably one of the most misunderstood, yet commonly-used attributes. As designers and developers, when we think about line-height, we might think about the concept of leading from print design \u2014 a term, interestingly enough, that comes from literally putting pieces of lead between lines of type. Leading and line-height, however similar, […]<\/p>\n","protected":false},"author":38145,"featured_media":308282,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[4],"tags":[1548,746,476,587],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/05\/leading-lineheight.jpg?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":360711,"url":"https:\/\/css-tricks.com\/typography-links-january-2022\/","url_meta":{"origin":308275,"position":0},"title":"8 Interesting Typography Links for January 2022","date":"January 7, 2022","format":false,"excerpt":"Every now and then, I find that I've accumulated a bunch of links about various things I find interesting. Typography is one of those things! Here's a list of typography links to other articles that I've been saving up and think are worth sharing. An awesome new font from OH\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-06-at-11.01.40-AM.png?fit=1200%2C773&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":255456,"url":"https:\/\/css-tricks.com\/equilateral-triangle-perfect-paragraph\/","url_meta":{"origin":308275,"position":1},"title":"The Equilateral Triangle of a Perfect Paragraph","date":"June 9, 2017","format":false,"excerpt":"Still, too many web designers neglect the importance of typography on the web. So far, I've only met a few that really understand typography and know how to apply that knowledge to their work. And the lack of knowledge about typography doesn't come from ignorance. I learned that web designers\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":337892,"url":"https:\/\/css-tricks.com\/intrinsic-typography-is-the-future-of-styling-text-on-the-web\/","url_meta":{"origin":308275,"position":2},"title":"Intrinsic Typography is the Future of Styling Text on the Web","date":"April 20, 2021","format":false,"excerpt":"The way we style text hasn\u2019t changed much over the years. There have been numerous advancements to help make things more flexible, like layouts, but in terms of styling, most finite aspects of our designs, like text, remain relatively unchanged. This is especially true of text styling. We write code\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/04\/type-scale.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":333512,"url":"https:\/\/css-tricks.com\/some-typography-blog-posts-ive-bookmarked-and-read-lately\/","url_meta":{"origin":308275,"position":3},"title":"Some Typography Blog Posts I’ve Bookmarked and Read Lately","date":"February 4, 2021","format":false,"excerpt":"Font-size: An Unexpectedly Complex CSS Property \u2014 From Manish Goregaokar in 2017. Of many oddities, I found the one where font: medium monospace renders at 13px where font: medium sans-serif renders at 16px particularly weird.The good line-height \u2014 Since CSS supports unitless line-height, you probably shouldn't be setting a hard\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/03\/font-vector-points.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":319599,"url":"https:\/\/css-tricks.com\/leading-trim-the-future-of-digital-typesetting\/","url_meta":{"origin":308275,"position":4},"title":"Leading-Trim: The Future of Digital Typesetting","date":"August 21, 2020","format":false,"excerpt":"leading-trim is a suggested new CSS property that lets us remove the extra spacing in every font so that we can more predictably style text. Ethan Wang has written about it \u2014 including how Microsoft has advocated for it \u2014 and that it\u2019s now part of the Inline Layout Module\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/08\/1gXfB7QR3LpWwJEuA12drqw.gif?fit=1200%2C426&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":301380,"url":"https:\/\/css-tricks.com\/is-it-better-to-use-ems-rems-than-px-for-font-size\/","url_meta":{"origin":308275,"position":5},"title":"Is it better to use ems\/rems than px for font-size?","date":"January 9, 2020","format":false,"excerpt":"The answer used to be absolutely yes because, if you used px units, you prevented the text from being resized by the user at all. But browser zoom is the default method for making everything bigger (including text) these days and it works great even if you use px. But...\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/05\/typography.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/308275"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/38145"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=308275"}],"version-history":[{"count":8,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/308275\/revisions"}],"predecessor-version":[{"id":316852,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/308275\/revisions\/316852"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/308282"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=308275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=308275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=308275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}