Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 在jumbotron类中自动调整很长文本的大小_Css_Twitter Bootstrap_Twitter Bootstrap 3 - Fatal编程技术网

Css 在jumbotron类中自动调整很长文本的大小

Css 在jumbotron类中自动调整很长文本的大小,css,twitter-bootstrap,twitter-bootstrap-3,Css,Twitter Bootstrap,Twitter Bootstrap 3,我有很长的字符串(e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855和类似的字符串),需要显示在引导3的col-md-8jumbotron类中。问题是字符串的最后几个字符在jumbotron框之外 css内部没有任何更改,引导程序按开箱即用的方式使用 我的问题是,如何使此文本(可能更长)适合于jumbotron box?最好使用的是单词break属性,并将单词换行到两行: p.whatever { word-b

我有很长的字符串(
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
和类似的字符串),需要显示在引导3的
col-md-8
jumbotron类中。问题是字符串的最后几个字符在jumbotron框之外

css内部没有任何更改,引导程序按开箱即用的方式使用


我的问题是,如何使此文本(可能更长)适合于jumbotron box?

最好使用的是单词break属性,并将单词换行到两行:

p.whatever {
    word-break: break-all;
}
如果需要,以下是供应商前缀:

-ms-word-break: break-all;
word-break: break-all;

// Non standard for webkit
word-break: break-word;

-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;