1

I have span inside text like this

<span class='btntext'>New Item</span>

How to show words like

New
Item

I tried white-space:nowrap; and word-break:break-all; but not worked...

.btntext{
  font-size: 12px;
}

Any ideas?

johannchopin
  • 13,720
  • 10
  • 55
  • 101
saulyasar
  • 797
  • 1
  • 17
  • 45

0 Answers0