I have a bootstrap row with two columns and some offset. I am trying to make the last column have a fixed position so that it remains visible even while scrolling. This last column contains image content.
Although I tried using the affix
class provided by Bootstrap, it caused the image in the last column to resize/overflow.
You can view these jsfiddles for a demonstration:
No fixed position/
.affix
: https://jsfiddle.net/tpw9n2e7/1/With fixed position/
.affix
: https://jsfiddle.net/tpw9n2e7/2/
Is there a way to keep the div fixed without affecting the size or overflowing contents of the child div?