Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking words #9

Open
ffoodd opened this issue Jul 23, 2020 · 1 comment
Open

Breaking words #9

ffoodd opened this issue Jul 23, 2020 · 1 comment

Comments

@ffoodd
Copy link

ffoodd commented Jul 23, 2020

RTL Styling 101 mentions the word-break property for line breaks, but there other properties that may behave the same (or introduce line breaks):

  • overflow-wrap (docs on MDN) which is the new name for word-wrap (supported as far as IE 5)
  • hyphens (docs on MDN)— albeit it should depend on the current language dictionnary I wonder what happens with Arabic or other RTL languages.

It might be valuable that the guide mentions at least overflow-wrap and word-wrap, I guess :)

FYI, in Bootstrap the .word-wrap utility combines both word-wrap and word-break properties, until overflow-wrap support gets better.

@shadeed
Copy link
Owner

shadeed commented Jul 30, 2020

Thank you for the great suggestion! Will take this into consideration :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants