Posted: March 5, 2022 | by Michael Bright
Example to stop the text from wrapping in CSS.
div { white-space: nowrap; overflow: hidden; }
Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.
CSS Single Rule for Multiple Classes Targeting
How to Stop a Background Image From Repeating in CSS