CSS common tricks – Avoid text wrapping at whitespace

  • December 11, 2019
  • CSS

Here is how to avoid wrapping of text in elements like btn, div etc (block, or inline-block elements).

add this to the btn styling:
white-space: nowrap;




No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *