I'm attempting to create the layout shown below:
https://i.sstatic.net/4qI7R.png
However, I am facing a challenge with this:
https://i.sstatic.net/ZLysM.png
I am utilizing Bootstrap. Here is my HTML code:
<div class="metrics-group">
<p>Revenue</p>
<div class="form-group">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-12">
<label for="6month_old_revenue">6 months ago</label>
<input type="number" class="form-control" id="6month_old_revenue" maxlength="2" required>
</div>
<div class="col-lg-3 col-md-3 col-sm-12">
<label for="5month_old_revenue">5 months ago</label>
<input type="number" class="form-control" id="5month_old_revenue" maxlength="2" required>
</div>
<div class="col-lg-3 col-md-3 col-sm-12">
<label for="4month_old_revenue">4 months ago</label>
<input type="number" class="form-control" id="4month_old_revenue" maxlength="2" required>
</div>
</div>
<div class="row traction-row>
<div class="col-lg-3 col-md-3 col-sm-12">
<label for="3month_old_revenue">3 months ago</label>
<input type="number" class="form-control" id="3month_old_revenue" maxlength="2" required>
</div>
<div class="col-lg-3 col-md-3 col-sm-12">
<label for="2month_old_revenue">2 months ago</label>
<input type="number" class="form-control" id="2month_old_revenue" maxlength="2" required>
</div>
<div class="col-lg-3 col-md-3 col-sm-12">
<label for="1month_old_revenue">1 month ago</label>
<input type="number" class="form-control" id="1month_old_revenue" maxlength="2" required>
</div>
</div>
</div>
</div>
Any suggestions on achieving the layout illustrated in the first image?