我想響應地將下面的代碼並排浮在一起。我怎樣才能做到這一點?並排浮動
這裏的是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上做到這一點? –