Take a moment to view the image displayed below
Feature 1 and feature 4 are two distinct divs that I have styled with the Bootstrap class .col-md-4
Here is the corresponding HTML code
<div class="col-md-4">
<div class="feature-group-1">
<div class="feature-1">
<div class="feature-1-img">
<img src="images/cloud.png"/>
</div>
<div class="feature-1-writing">
<h4>Feature 1</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.</p>
</div>
</div>
<div class="feature-2">
<div class="feature-2-img">
<img src="images/fork.png"/>
</div>
<div class="feature-2-writing">
<h4>Feature 4</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.</p>
</div>
</div>
</div>
</div>
As both blocks reside within the same .col-md-4
div in Bootstrap, I am struggling to align the text and image side by side.
I am looking for an outcome similar to this:
Could anyone offer guidance on how to position two divs - one containing an image and other text - alongside each other using the same Bootstrap class? I have attempted using inline methods, floats, etc. without success.
Thank you in advance