Why doesn't word-wrap work properly in CSS3?

前端 未结 7 603
温柔的废话
温柔的废话 2021-02-01 01:44

Why doesn\'t word wrap property work properly in the example below?

http://jsfiddle.net/k5VET/739/

What can I do to ensure that part of the word \'consectetur\'

7条回答
  •  无人及你
    2021-02-01 02:02

    If word-wrap: break-all don't work, try also add this:

    white-space:normal;
    

    work for me with the .btn class in Bootstrap 3

提交回复
热议问题