Prior to beginning a new project, I'm interested in exploring the possibility of implementing a sliding sidebar for mobile and tablets. On desktop, however, I envision a fixed sidebar that is part of the main container layout as shown below:
<div class="container">
<div class="col-md-9"> </div>
<div class="col-md-3" id="sidebar"> </div>
</div>
I am uncertain about what approach to take to achieve this effect. Should I use media queries or JQuery, for instance?