I have a website with an image that is currently responsive thanks to bootstrap. The width adjusts properly on different devices, but I want the image to crop to the left and right when it's enlarged in this specific case.
I've tried various techniques, but nothing seems to be working for me. Could it be because of the bootstrap responsive function? Am I doing something wrong?
I would greatly appreciate some assistance. Here is the code I am currently using:
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 woodbar">
<img src="img/WoodenBar2.png" class="img-responsive" alt="Responsive image">
</div>
</div>
</div>
</section>
For now, my CSS is clean since bootstrap has img-responsive built-in.
If anyone can offer some help, it would be greatly appreciated.