I am facing an issue with arranging two divs
horizontally. It is working fine on large, medium, and small screens, but when I switch to the extra small screen size (xs
), it doesn't work as expected.
The code snippet in question is as follows:
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-2" id="Leftlist">
<ul>
<li>ABC</li>
<li>DEFG</li>
<li>HIJ</li>
<li>KLM</li>
<li>NOP</li>
<li>QRST</li>
<li>UVW</li>
<li>XYZ</li>
</ul>
</div>
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-10" id="RightPara">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>
</div>
The code functions correctly for large, medium, and small screens. https://i.sstatic.net/76XIi.png
However, it fails to display properly on extra small windows. https://i.sstatic.net/4j9lQ.png
If anyone can provide guidance on resolving this issue, it would be greatly appreciated.