I am currently utilizing Bootstrap 4 and have implemented the jumbotron class with the following CSS:
.rounded-circle{
vertical-align: left;
width: 100px;
height: 100px;
border-radius: 50%;
position: absolute;
left: -150px;
top: -50px;
}
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<div class="jumbotron rounded-0">
<div class="container">
<div class="row">
<div class="col-md-4">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Circle_-_black_simple.svg/500px-Circle_-_black_simple.svg.png" alt="..." class="rounded-circle">
</div>
<div class="col-md-8">
this is mobile way of the container and other line
</div>
</div>
</div>
</div>
In the desktop view, my content displays correctly as shown in this link.
However, in the mobile view, the positioning is off as depicted in this image.
How can I ensure that my image and text are displayed properly on all devices (desktop, tablet, and phone), such that on smaller screens the image appears at the top followed by the description?
Here is the edited image for reference: https://i.sstatic.net/fGvzW.png