Style(css, sass, Tailwind, MUI, etc)
text-wrap: balance
Ykie
2023. 5. 30. 04:54
728x90
Selectors and style queries aren’t the only places that we can embed logic within our styles; typography is another one. From Chrome 114, you can use text-wrap balancing for headings, using the text-wrap property with the value balance.
https://developer.chrome.com/blog/css-text-wrap-balance/
CSS text-wrap: balance - Chrome Developers
A classic typography technique of hand-authoring line breaks for balanced text blocks, comes to CSS.
developer.chrome.com
728x90