How to break word after special character like Hyphens (-)

后端 未结 11 2073
南方客
南方客 2020-12-04 17:31

Given a relatively simple CSS:

11条回答
  •  广开言路
    2020-12-04 17:48

    Replace your hyphens with this:

    ­
    

    It's called a "soft" hyphen.

    div {
      width: 150px;
    }
    12333­2333­233­23339392­332332323

提交回复
热议问题