How do you wrap long words in CSS? @MozillaDeveloper
How do you wrap long words in CSS?  @MozillaDeveloper
Uploaded November 2019 | Updated November 2026, 1 hour ago
Horizontal text overflow has always been difficult to manage on the web. The default visible overflow is designed to make sure content remains accessible no matter the size of a containing box, but it's not our only option. We can now use overflow-wrap to control how words break – and combine that with hyphens to make wrapped text more readable. The solutions aren't perfect yet, but Miriam Suzanne will walk you through the options we have, and how to use them.

- MDN Overflow-Wrap: developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap
- MDN Hyphens: developer.mozilla.org/en-US/docs/Web/CSS/hyphens
- CodePen Demo: codepen.io/mirisuzanne/pen/GRKoxXY

#webdesign #CSS #graphicdesign
How do you wrap long words in CSS?Quickly Alter Typography with Firefox Font EditorCommunity call - September 2024Over a decade of anti-tracking work at MozillaThe Mozilla Community Call - April 13, 2023Integrating LLMs: Intelligence is trickyUse new selectors responsibly with selector queriesFirefox, Android, and Cross-browser Web Extensions in 2024New Firefox design - Firefox 157Mozilla Mythbusters: Separating Fact from FictionCommunity Spotlight: Home AssistantTest for Text Label Issues using the Firefox Accessibility Inspector
Mozilla Developer |

How do you wrap long words in CSS?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER