Twitter bootstrap 和Jumbotron有麻烦吗
我试图在Bootstrap3.0中创建一个Jumbotron。我希望我的图像占据前三列,我的文本占据其余九列。然而,当我输入代码时,图像和文本相互交叉 这是我的密码:Twitter bootstrap 和Jumbotron有麻烦吗,twitter-bootstrap,twitter-bootstrap-3,Twitter Bootstrap,Twitter Bootstrap 3,我试图在Bootstrap3.0中创建一个Jumbotron。我希望我的图像占据前三列,我的文本占据其余九列。然而,当我输入代码时,图像和文本相互交叉 这是我的密码: <div class="jumbotron"> <h1 class="col-lg-offset-3">Content Strategist and Designer</h1> <div class="row col-md-12"> <
<div class="jumbotron">
<h1 class="col-lg-offset-3">Content Strategist and Designer</h1>
<div class="row col-md-12">
<div class="col-md-5 col-md-offset-1">
<img src="img/cover.png">
</div>
<div class="col-md-5 col-md-offset-1">
<p>Hello,</p>
<p> My name is Bryan Collins and I am a student of the Digital Skills Academeny WebElevate 2.1 programme, where I specialised in the creation of online content.</p>
<p>Throughout my professional career, I have written and produced various types of multimedia for a variety of Irish online and offline publications.</p>
<p><a href="#" class="btn btn-primary btn-large">Learn More</a></p>
</div>
</div>
</div>
内容策略师和设计师
你好,
我的名字是布莱恩·柯林斯,我是数字技能学院WebElevate 2.1课程的学生,在那里我专门从事在线内容的创建
在我的职业生涯中,我为各种爱尔兰在线和离线出版物编写和制作了各种类型的多媒体
确保您的图像包含img responsive
类,以便为列相应缩放。此外,如果要使用3列表示图像,9列表示文本(如您所述),请使用相应的col-md-3
和col-md-9
而不是col-md-5
<div class="jumbotron">
<h1 class="col-lg-offset-3">Content Strategist and Designer</h1>
<div class="row">
<div class="col-md-3">
<img src="//placehold.it/800x950" class="img-responsive">
</div>
<div class="col-md-9">
<p>Hello,</p>
<p> My name is Bryan Collins and I am a student of the Digital Skills Academeny WebElevate 2.1 programme, where I specialised in the creation of online content.</p>
<p>Throughout my professional career, I have written and produced various types of multimedia for a variety of Irish online and offline publications.</p>
<p><a href="#" class="btn btn-primary btn-large">Learn More</a></p>
</div>
</div>
</div>
内容策略师和设计师
你好,
我的名字是布莱恩·柯林斯,我是数字技能学院WebElevate 2.1课程的学生,在那里我专门从事在线内容的创建
在我的职业生涯中,我为各种爱尔兰在线和离线出版物编写和制作了各种类型的多媒体
演示:确保您的图像包含
img responsive
类,以便为列相应缩放。此外,如果要使用3列表示图像,9列表示文本(如您所述),请使用相应的col-md-3
和col-md-9
而不是col-md-5
<div class="jumbotron">
<h1 class="col-lg-offset-3">Content Strategist and Designer</h1>
<div class="row">
<div class="col-md-3">
<img src="//placehold.it/800x950" class="img-responsive">
</div>
<div class="col-md-9">
<p>Hello,</p>
<p> My name is Bryan Collins and I am a student of the Digital Skills Academeny WebElevate 2.1 programme, where I specialised in the creation of online content.</p>
<p>Throughout my professional career, I have written and produced various types of multimedia for a variety of Irish online and offline publications.</p>
<p><a href="#" class="btn btn-primary btn-large">Learn More</a></p>
</div>
</div>
</div>
内容策略师和设计师
你好,
我的名字是布莱恩·柯林斯,我是数字技能学院WebElevate 2.1课程的学生,在那里我专门从事在线内容的创建
在我的职业生涯中,我为各种爱尔兰在线和离线出版物编写和制作了各种类型的多媒体
演示:效果不错,谢谢。在我的图像旁边有很大的空间。我将图像和文本分别设置为col-md-6。图像本身的大小超过900px,是一个png。如何使其更大?一旦使用
img responsive
,img将扩展到其“容器”。。因此,如果你把颜色调宽,图像就会变大。也许可以尝试使用col-md-7
image和col-md-5
查看文本?有没有办法让它像iMac一样在这个链接中进行缩放:这就是我目前所拥有的:wpsite56.webelevate.ieThat worked谢谢。在我的图像旁边有很大的空间。我将图像和文本分别设置为col-md-6。图像本身的大小超过900px,是一个png。如何使其更大?一旦使用img responsive
,img将扩展到其“容器”。。因此,如果你把颜色调宽,图像就会变大。也许可以尝试使用col-md-7
image和col-md-5
来查看文本?有没有办法让它像iMac一样在这个链接中进行缩放:这就是我目前拥有的:wpsite56.webelevate.ie