display: -webkit-flex; 手机上图下文字,pad上有浮动。

<article>
<div class="boxt">
<div class="boxt-right"><img src="data:images/c0401-002-s.png"/></div>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section> </div>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section>
<section class="boxt-left">3.You may have noticed that all three of these words are similar to <i class="red">say</i> in that they have meanings that are connected with <i>showing, telling</i> or <i>explaining</i>. But do you know how to use them c</section> </article>
@media screen and (min-width: 600px) {
.boxt{ margin-top: 20px; } .boxt-right{
float: right;
margin-left: 20px;
}
}
@media screen and (max-width: 600px) {
.boxt{ margin-top: 20px;
display: -webkit-flex;
-webkit-flex-wrap: wrap;
} .boxt-right{
margin:0 auto;
-webkit-order: 3; }
}

  

上一篇:【测试】解决loadrunner11无法运行负载测试


下一篇:Properties的使用以及配置文件值的获取