css break word with hyphen
Solution in 2022: If you add the lang Attribute to your div and type out “Berufsbildungszentrum” cased normally, using hyphens: auto; does work as excpected. You can then uppercase the word again using text-transform: uppercase;. Please note that the supported dictionaries for hyphenation differ from browser to browser. A compatibility table can be seen here. … Read more