我想响应地将下面的代码并排浮在一起。我怎样才能做到这一点?并排浮动
这里的是HTML:
<img src="http://www.iliveaccountable.com/wp-content/uploads/2015/12/free-membership-300x188.jpg" alt="free-membership" width="300" height="188" class="alignnone size-medium wp-image-14074" />
<h3>Today’s Price: 100% FREE</h3>
<p><strong>ONLINE VIDEO COURSE</strong></p>
<p><strong>Availability</strong>: Immediate Access in Members Area</p>
<button class="btn btn-primary">GET ACCESS NOW</button>
<img src="http://www.iliveaccountable.com/wp-content/uploads/2015/12/satisfaction-guaranteed-300x300.png" alt="satisfaction-guaranteed" width="300" height="300" class="alignnone size-medium wp-image-14075" />
You can get started right now, in this moment, to shift your life to a more powerful, more accountable life! We offer a free video series that shares insights into the mindset of a victim, the characteristics and verbiage victims unknowingly use, and some steps and tools to live a more accountable life!
We also clarify some of the misconceptions of accountability and why it is that for many, accountability is something that is avoided, when in truth, it is the key to a more free, powerful fulfilling life!!!
这里的CSS:
.right{
float: right;
}
.left{
float: left;
}
而这里的的jsfiddle:https://jsfiddle.net/6totya08/
你希望我们为你写的CSS?因为当我去那个小提琴时没有CSS。 – Sam
轻松使用引导程序可以实现此目的。 –
如何在JSFIDDLE上做到这一点? –