I have created this design using CSS and Bootstrap. However, I am encountering an issue with responsiveness. Can someone assist me in making this design responsive?
HTML:
.ordering .spanone {
position: absolute;
width: 100px;
left: 43%;
right: 50%;
font-size: 25px;
top: 12%;
}
.ordering .spananother {
position: absolute;
width: 138px;
left: 35%;
right: 50%;
font-size: 16px;
top: 35%;
}
.ordering .spanthird {
position: absolute;
width: 138px;
top: 45%;
left: 39%;
right: 50%;
font-size: 16px;
}
.ordering .spanfourth {
position: absolute;
width: 138px;
top: 55%;
left: 35%;
right: 50%;
font-size: 16px;
}
.ordering .spanfifth {
position: absolute;
width: 229px;
top: 66%;
left: 24%;
right: 50%;
font-size: 16px;
}
.orange {
vertical-align: middle;
color: white;
position: relative;
background-color: #4C4245;
height: 226px !important;
width: 336px !important;
z-index: 3;
border-bottom-left-radius: 43%;
float: right;
margin-right: 2px;
}
.orange:after {
content: '';
position: absolute;
left: 100%;
width: 0;
height: 0;
border-top: solid 113px transparent;
border-bottom: solid 113px transparent;
border-left: solid 109px #4C4245;
}
.green {
color: white;
position: relative;
background-color: #eaeaea;
height: 226px !important;
width: 380px !important;
z-index: 2;
margin-right: 50px;
margin-top: 2px;
float: right;
}
.green:after {
content: '';
position: absolute;
left: 100%;
width: 0;
height: 0;
border-top: solid 113px transparent;
border-bottom: solid 113px transparent;
border-left: solid 112px #eaeaea;
}
.green:before {
content: '';
position: absolute;
width: 0;
height: 0;
border-top: solid 113px transparent;
border-bottom: solid 113px transparent;
border-left: solid 112px white;
}
.blue {
color: white;
position: relative;
background-color: #ededed;
height: 226px !important;
width: 383px !important;
border-top-right-radius: 50%;
float: right;
margin-right: 100px;
}
.blue:after {
content: '';
position: absolute;
top: 100%;
left: 100%;
margin-left: 250px;
width: 0;
height: 0;
}
.blue:before {
content: '';
position: absolute;
width: 0;
height: 0;
border-top: solid 115px transparent;
border-bottom: solid 115px transparent;
border-left: solid 111px white;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row margin-bottom-30 margin-top-20 ordering" style="margin-top:38px;margin-bottom:38px;">
<div class="col-lg-4">
<div class="orange">
<span class="spanone">Step 1</span>
<span class="spananother">Send us your file &</span>
<span class="spanthird">Project Details,</span>
<span class="spanfourth">You will recieve a</span>
<span class="spanfifth">customized estimated link back</span>
</div>
</div>
<div class="col-lg-4">
<div class="green">
<span class="spanone" style="color:#4C4245">Step 2</span>
<span class="spananother" style="color:#4C4245;width:180px">Click "Make my Sign" on</span>
<span class="spanthird" style="color:#4C4245">the estimated link,</span>
<span class="spanfourth" style="color:#4C4245;left:39%">You will recieve a</span>
<span class="spanfifth" style="color:#4C4245;left:26%;width:251px;">customized completed notification</span>
</div>
</div>
<div class="col-lg-4">
<div class="blue">
<span class="spanone" style="color:#4C4245">Step 3</span>
<span class="spananother" style="color:#4C4245;width:180px">Click "Ship my Sign" on</span>
<span class="spanthird" style="color:#4C4245;left:45%">the completion,</span>
<span class="spanfourth" style="color:#4C4245;left:45%">notification link</span>
<span class="spanfifth" style="color:#4C4245;left:26%;width:251px;">Your new sign is on its way-!!</span>
</div>
</div>
</div>
I am familiar with using MEDIA Query to make the design responsive, but I prefer to achieve responsiveness with a minimal use of media queries.
The image created using CSS: