CSS code snippet – How to make text in div elements not crumple up when the div element gets smaller? Subash Chandran 5th November 2021 Leave a Comment display: inline-block; /*from stackoverflow*/ Curly hair, very fair, please share 🙂Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Related See also How to read linux environment variable in Python? Snippets how to make text in div elements not crumple up when the div element gets smaller Change font size A Decrease font size. A Reset font size. A Increase font size.