Bootstrap 小屏幕上的超大屏幕宽度问题
Bootstrap jumbotron width issue on small screen
我的超大屏幕出现问题,其中包含一些文本和一个按钮。基本上在小屏幕 (320) 上,其中包含的文本不再居中显示,右侧出现白色边栏,我无法弄清楚它的来源。您可以在此处的 240 和 320 屏幕中看到它:http://mattkersley.com/responsive/ the website is http://test.assatena.it/
html
<div class="jumbotron vertical-center container-fluid center-block">
<div class="container center-block">
<h1 class="center-block">Associazione Culturale e Musicale Atena</h1>
<div class="text-center center-block"><a data-toggle="modal" href="#modal-iscrizione" class="page-scroll btn btn-success btn-xl">iscriviti qui!</a></div>
</div>
</div>
css
.jumbotron{
position: relative;
background-image: url(http://www.assatena.it/wp-content/uploads/2014/06/sfondo1.png);
background-size: cover;
height: 100%;
width: 100%;
text-align: center;
margin: 0 auto;
overflow: hidden;
}
谢谢
img{max-width:100%;}
.jumbotron h1 {word-wrap: break-word;}
我的超大屏幕出现问题,其中包含一些文本和一个按钮。基本上在小屏幕 (320) 上,其中包含的文本不再居中显示,右侧出现白色边栏,我无法弄清楚它的来源。您可以在此处的 240 和 320 屏幕中看到它:http://mattkersley.com/responsive/ the website is http://test.assatena.it/
html
<div class="jumbotron vertical-center container-fluid center-block">
<div class="container center-block">
<h1 class="center-block">Associazione Culturale e Musicale Atena</h1>
<div class="text-center center-block"><a data-toggle="modal" href="#modal-iscrizione" class="page-scroll btn btn-success btn-xl">iscriviti qui!</a></div>
</div>
</div>
css
.jumbotron{
position: relative;
background-image: url(http://www.assatena.it/wp-content/uploads/2014/06/sfondo1.png);
background-size: cover;
height: 100%;
width: 100%;
text-align: center;
margin: 0 auto;
overflow: hidden;
}
谢谢
img{max-width:100%;}
.jumbotron h1 {word-wrap: break-word;}