Strange bootstrap behaviour

Viewed 96

I am using Bootstrap 3. I have noticed a strange behavior that when I use class .col-md-6 on a <div>, it occupies half the area as it should be, but when I use class .col-md-4 on the same <div>, it occupies the whole row.

Below are the attached images.

1) Image with .col-md-6: image with col-md-6

2) Image with .col-md-4: enter image description here

Can anyone tell me how I can resolve this issue?

1 Answers

Try using .col-xs-4. I suspect it's due to the breakpoints since they're stacking....

Related