Is it possible to expand a div while hovering on a small or x-small device? I want to achieve something like this:
https://i.sstatic.net/doJKa.png
Currently, I can only hide the yellow div when the page is displayed on a small device. I am looking for a way to reduce it and make it expandable. Any tips on creating a new div with these specifications and displaying it only on small devices instead of the yellow div?
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
<div class="container-fluid">
<div class="row">
<div class="col-lg-2 col-sm-0 d-none d-lg-block no-float" style="background-color:yellow;">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has.</p>
</div>
<div class="col-lg-8 col-sm-10 no-float" style="background-color:pink;">
<p>Sed ut perspiciatis...</p>
</div>
<div class="col-sm-2 no-float" style="background-color:blue;">
<p>Sed ut perspiciatis...</p>
</div>
</div>
</div>