Looking for ways to create a responsive design that adapts to different screen sizes? I need my layout to be 2 columns on tablet view and 1 column on mobile view. Here's the CSS code snippet for an image inside a circle: Image within a circle
CSS
overflow: hidden;
width: 150px;
height: 150px;
border-radius: 150px;
-webkit-border-radius: 150px;
-moz-border-radius: 150px;
border: 5px solid #000;
position: absolute;
background-color: #fff;
left: 65px;
}
.bo>img {
position: absolute;
top: 20px;
}
Here is some HTML content: How We Manage LOOPTEK is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="bo">
<img src="imgs/icons/web.png" class="rounded" alt="Events and Activities" onload='fixAspect(this);'>
</div>
<div class="bo1 text-center">
<h5>Web Design</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
<button class="btn">viewport</button>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="bo">
<img src="imgs/icons/web.png" class="rounded" alt="Events and Activities" onload='fixAspect(this);'>
</div>
<div class="bo1 text-center">
<h5>Mobile App</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
<button class="btn">viewport</button>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="bo">
<img src="imgs/icons/web.png" class="rounded" alt="Events and Activities" onload='fixAspect(this);'>
</div>
<div class="bo1 text-center">
<h5>Desktop App</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
<button class="btn">viewport</button>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="bo">
<img src="imgs/icons/web.png" class="rounded" alt="Events and Activities" onload='fixAspect(this);'>
</div>
<div class="bo1 text-center">
<h5>Game App</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
<button class="btn">viewport</button>
</div>
</div>
</div>
</div>