I'm currently using
<div class="col-sm-6 col-xs-12">
to have 2 columns on all screens larger than xs.
However, I want to set the breakpoint where I start to have 2 columns when the screen-width is somewhere between xs and sm.
Should I use @media query? If so, how do I do that?
It's for a portfolio page where the user can click the images to view different projects.
This is what I've written so far:
<section class="container-fluid" id="portfolio">
<h1>PORTFOLIO</h1>
<div class="row">
<div class="col-sm-6 col-xs-12">
<img src="#" alt="#" width="100%">
<p>Me</p>
</div>
<div class="col-sm-6 col-xs-12">
<img src="#" alt="#" width="100%">
<p>Me</p>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-xs-12">
<img src="#" alt="#" width="100%">
<p>Me</p>
</div>
<div class="col-sm-6 col-xs-12">
<img src="#" alt="#" width="100%">
<p>Me</p>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-xs-12">
<img src="#" alt="#" width="100%">
<p>Me</p>
</div>
<div class="col-sm-6 col-xs-12">
<img src="#" alt="#" width="100%">
<p>Me</p>
</div>
</div>
</section>
Help much appreciated!