A far more common use case is when we want a bolder or lighter stroke than the surrounding text, in a way that\u2019s agnostic to the weight of the surrounding text.<\/p><\/blockquote>\n\n\n\n
\/* Increasing font-size by 100% *\/\nh1 {\n font-size: 200%;\n}\n\n\/* PROPOSAL - Increasing font-weight by 50% *\/\nstrong, b {\n font-weight: 150%;\n}<\/code><\/pre>\n\n\n\nTaking variable fonts into account, a value like 150%<\/code> would probably be a better default than the existing bold<\/code>\/bolder<\/code> defaults in browsers today.<\/p>\n","protected":false},"excerpt":{"rendered":"Variable fonts make it easy to create a large set of font styles from a single font file. Unfortunately, the default rendering of the <b> and <strong> elements in browsers today is not very compatible with the wide range of font-weight values enabled by variable fonts.<\/p>\n","protected":false},"author":245432,"featured_media":351019,"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":"Firefox\u2019s `bolder` Default is a Problem for Variable Fonts","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[4],"tags":[1471,17634,587,1606,1371],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/08\/default-rendering-b.png?fit=1495%2C950&ssl=1","jetpack-related-posts":[{"id":330342,"url":"https:\/\/css-tricks.com\/using-css-custom-properties-to-adjust-variable-font-weights-in-dark-mode\/","url_meta":{"origin":351017,"position":0},"title":"Using CSS Custom Properties to Adjust Variable Font Weights in Dark Mode","date":"December 10, 2020","format":false,"excerpt":"Black isn\u2019t always slimming. When recently testing a dark mode option for one of my sites, I experienced first-hand the issue that Robin Rendle addresses in this article. All of my page text \u2014 headings and body copy \u2014 appeared to bulk up when I switched to dark mode. And\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/12\/dark-mode-font-weight.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":265593,"url":"https:\/\/css-tricks.com\/one-file-many-options-using-variable-fonts-web\/","url_meta":{"origin":351017,"position":1},"title":"One File, Many Options: Using Variable Fonts on the Web","date":"January 29, 2018","format":false,"excerpt":"In 2016, an important development in web typography was jointly announced by representatives from Adobe, Microsoft, Apple, and Google. Version 1.8 of the OpenType font format introduced variable fonts. With so many big names involved, it's unsurprising that all browsers are on-board and racing ahead with implementation. Font weights can\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/01\/using-variable-fonts-4.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":295752,"url":"https:\/\/css-tricks.com\/variable-fonts-link-dump\/","url_meta":{"origin":351017,"position":2},"title":"Variable Fonts Link Dump!","date":"September 20, 2019","format":false,"excerpt":"There's been a ton of great stuff flying around about variable fonts lately (our tag has loads of stuff as well). I thought I'd round up all the new stuff I hadn't seen before. Google fonts has a beta of hosted variable fonts and the announcement demo is on CodePen.\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/04\/variable-font-thumb.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":317559,"url":"https:\/\/css-tricks.com\/getting-the-most-out-of-variable-fonts-on-google-fonts\/","url_meta":{"origin":351017,"position":3},"title":"Getting the Most Out of Variable Fonts on Google Fonts","date":"July 30, 2020","format":false,"excerpt":"I have spent the past several years working (alongside a bunch of super talented people) on a font family called Recursive Sans & Mono, and it just launched officially on Google Fonts! Wanna try it out super fast? Here\u2019s the embed code to use the full Recursive variable font family\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/07\/recursive-specimen.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":267436,"url":"https:\/\/css-tricks.com\/three-techniques-performant-custom-font-usage\/","url_meta":{"origin":351017,"position":4},"title":"Three Techniques for Performant Custom Font Usage","date":"March 5, 2018","format":false,"excerpt":"There\u2019s a lot of good news in the world of web fonts! The forthcoming version of Microsoft Edge will finally implement unicode-range, the last modern browser to do so. Preload and font-display are landing in Safari and Firefox. Variable fonts are shipping everywhere. Using custom fonts in a performant way\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/02\/system-fonts.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":266058,"url":"https:\/\/css-tricks.com\/use-variable-fonts-real-world\/","url_meta":{"origin":351017,"position":5},"title":"How to use variable fonts in the real world","date":"January 29, 2018","format":false,"excerpt":"Yesterday Richard Rutter posted a great piece that explores how the team at Clearleft built the new Ampersand conference website using variable fonts (that\u2019s the technology that allows us to bundle multiple widths and weights into a single font file). Here\u2019s the really exciting part though: Two months ago browser\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/351017"}],"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\/245432"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=351017"}],"version-history":[{"count":3,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/351017\/revisions"}],"predecessor-version":[{"id":351024,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/351017\/revisions\/351024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/351019"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=351017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=351017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=351017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}