Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to use text-wrap css property - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
3 replies
Adarsh
How to use text-wrap css property
So I used overflow
-wrap and word
-wrap to wrap my text in a div
. But in smaller devices words are getting broken down
. So I found out about text
-wrap
, but I don
't know how to use it
. I tried it out like this
.
text-wrap: balance;
text-wrap: balance;
But it is showing Unknown property
:
'text
-wrap
'
. What am I doing wrong
?
Here is the link to the docs
-
https://developer.chrome.com/blog/css-text-wrap-balance/
Chrome Developers
CSS text-wrap: balance - Chrome Developers
A classic typography technique of hand
-authoring line breaks for balanced text blocks
, comes to CSS
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
text-wrap balance not valid property
KP-C
Kevin Powell - Community / front-end
3y ago
how to wrap text in input tag
KP-C
Kevin Powell - Community / front-end
3y ago
Wrap text and grid
KP-C
Kevin Powell - Community / front-end
4y ago