【发布时间】:2018-12-10 03:39:03
【问题描述】:
我以前从未编程过,但我有一个大学项目,我必须在其中编辑布局。 其中有一部分文本在中心,当它到达页面的中心时,它会跳到下一行..我希望它能够正常继续.. https://jsfiddle.net/nqpa6jh0/#&togetherjs=vORwosTiHV
.image.feature2 {
display: block;
margin: 0 0 0em 0;
}
.image.feature2 img {
display: block;
width: 100%;
border-radius: 50%;
width: 200px;
height: 200px;
float: left
}
.image.feature3 img {
display: block;
width: 100%;
border-radius: 50%;
width: 200px;
height: 200px;
float: right;
<div class="wrapper style2">
<section class="container">
<header class="major">
<h2>Depoimentos</h2>
<span class="byline">Os viajantes recomendam.</span>
</header>
<div class="row no-collapse-1">
<section class="">
<a class="image feature2"><img src="images/pic02.jpg" alt=""></a>
<p>Nam in massa. Sed vel tellus. Curabitur sem urna, consequat vel, suscipit in, mattis placerat.</p>
</section>
</div>
</section>
</div>
这是它的外观
这就是我想要的样子(第一个照片):
【问题讨论】:
-
抱歉不知道。这是 jsfiddle:jsfiddle.net/nqpa6jh0/#&togetherjs=vORwosTiHV
-
你使用的是框架还是什么?
-
我不确定.. 崇高的文字