css - Autosize very long text inside jumbotron class -


i have long string (e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 , similar) need shown inside col-md-8 jumbotron class of bootstrap 3. problem last few characters of string outside jumbotron box.

nothing inside css changed, bootstrap used out of box...

my question is, how make text (that can longer) fit inside jumbotron box?

the best thing use word-break property , make word wrap onto 2 lines:

p.whatever {     word-break: break-all; } 

these vendor prefixes if need them:

-ms-word-break: break-all; word-break: break-all;  // non standard webkit word-break: break-word;  -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; 

Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -