Created
December 31, 2015 16:04
-
-
Save satosystems/17707144572c3aa619c8 to your computer and use it in GitHub Desktop.
Bootstrap でスマートフォンサイトの幅が少しだけ広くなってしまう現象 ref: http://qiita.com/satosystems/items/9a9ef06b1f72e2d1b3b9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="row"> | |
<form action="#" class="form-horizontal"> | |
<div class="form-group container"><!-- ここが問題 --> | |
<label for="input-name" class="col-sm-2 control-label">おなまえ</label> | |
<div class="col-xs-12 col-sm-8"> | |
<input type="text" class="form-control" id="input-name" placeholder="おなまえ" maxlength="80" required="required"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="row"> | |
<form action="#" class="form-horizontal"> | |
<div class="container"><!-- container と --> | |
<div class="form-group"><!-- form-group を分ける --> | |
<label for="input-name" class="col-sm-2 control-label">おなまえ</label> | |
<div class="col-xs-12 col-sm-8"> | |
<input type="text" class="form-control" id="input-name" placeholder="おなまえ" maxlength="80" required="required"> | |
</div> | |
</div> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment