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
  • 11,813
  • 8
  • 41
  • 91
saulyasar
  • 738
  • 1
  • 15
  • 40

0 Answers0