I am facing the following situation: [![enter image description here][1]][1]
What I want is:
Number 1: Adjust the column width to fit the content, in this case the image.
Number 2: Resize the column width to accommodate the text "Title of Content"
Number 3: Make the width of this column flexible to adjust to the rest of the available space.
My HTML:
<div class="container-fluid">
<div class="jumbotron">
<div class="row">
<div class="col-xl-3 .mx-auto text-center">
<div class="row">
<div class="col-xl-1 bg-dark">
<img src="img/01_number_in_circular.svg" alt="Step 1">
</div>
<div class="col-xl-11 bg-success">
<h2>Title of Content</h2>
<p>Description Text in short form.</p>
</div>
</div>
</div>
<div class="col-xl-9 bg-info">
Column 3
</div>
</div>
</div>
I have tried using col-xl-*
, but it didn't work.
Is there a specific class that can help me achieve this? I would appreciate your assistance. Thank you.