Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

col-md-12 #10736

Closed
Gorash opened this issue Sep 20, 2013 · 4 comments
Closed

col-md-12 #10736

Gorash opened this issue Sep 20, 2013 · 4 comments

Comments

@Gorash
Copy link

Gorash commented Sep 20, 2013

col-md-12 don't have the css attribute float:left like others columns.
The behavior is different (margin, padding, position ...)

@shahariaazam
Copy link

@Gorash all *-*-12 doesn't need float:left; It takes full the width of that row. And whenever you will put any div with *-*-1~11 then automatically they will place as float:left. That's why float:left is not necessary for *-*-12 grid class.

@Gorash
Copy link
Author

Gorash commented Sep 20, 2013

Indeed, but for margin, padding, clear, position... it's not the same behavior.

Eg. if we change the class --12 into --11 in javascript, vertical position will change if the tag (and the previous and/or next tag) had a margin/padding.

@ideajunction
Copy link

I've recreated another problem this difference caused for me, it stopped form elements being selectable: http://jsfiddle.net/francisbooth/keLYk/2/

@cvrebert
Copy link
Collaborator

Duplicate of #10152. Please search next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants