I am looking to disable certain HTML code in a specific size. For example, I would like to disable or modify a div with the class "container" when it is 576px wide. Here is a snippet of my code:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<div class="container">
<div class="row">
<div class="col-2 col-sm-1 col-md-1 col-lg-2">
<div>
<a>Some codes</a>
</div>
</div>
<div class="col-8 col-sm-9 col-md-9 col-lg-8">
<div>
<nav>
<ul class="cf--main-menu-wrapper">
<li><a href="#">Home</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Our Features</a></li>
</ul>
</nav>
</div>
</div>
<div class="col-2 col-sm-2 col-md-2 col-lg-2">
<div>
<a>Download App</a>
</div>
</div>
</div>
</div>
In this question, I mentioned a div specifically, but I actually mean all HTML code. Thank you.