Css automatic line wrapping?

The

test gives back an anti-human BUG; that I can"t solve right now! Turn to the gods for advice!
shows how to wrap lines automatically with continuous punctuation in a fixed-width box.

    <view  class="text"> </view>
.text{
  width: 200px;
  word-wrap:break-word;
  word-break: break-all;
}
css

  div{
    width: 200px;
    word-wrap:break-word;
  }




try adding a white-space:pre-wrap.

Menu