Wrap a long single word using CSS

前端 未结 7 1920
梦谈多话
梦谈多话 2021-01-04 17:52

I tried to wrap a single word which contains around 500+ chars in a div.

7条回答
  •  一向
    一向 (楼主)
    2021-01-04 18:33

    There is property in css:

    .selector {
        word-wrap: normal|break-word;
    }
    

提交回复
热议问题