Skip to content

Fixed some Twitter Bootstrap Bug on the col offsets

January 8, 2016

I am still getting to grips with the column offsets in Twitter Boostrap, but as I was building the div grids using the col offsets, I had seen tthis bug that occurred and stayed throughout the grid display in my app, it turns out that col-sm-6 does a 50% width when setting the browser width somewhere between 400px (ish) and 768px when I write the following code:-



</div>

To fix this, i took off col-sm-6 from above, and it fixed the width 50% issue!



</div>

Anyway had to  write this as it was a major issue when setting the col widths in Twitter Bootstrap! Need to learn how these work!

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s