1
我在收件箱中顯示登錄菜單時遇到問題,因爲它的寬度太小。 我也嘗試更改bootstrap.css文件,但沒有任何作品。我只是想增加下拉框的大小。請告訴是否還有其他方法。 my fiidle 使用引導程序在下拉菜單中註冊和登錄
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<a class="dropdown-toggle" href="#" data-toggle="dropdown" id="navLogin">Login</a>
<div class="container">
<div class="row">
<div class="main">
<h3>Please Log In, or <a href="#">Sign Up</a></h3>
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<a href="#" class="btn btn-lg btn-primary btn-block">Facebook</a>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<a href="#" class="btn btn-lg btn-info btn-block">Google</a>
</div>
</div>
<div class="login-or">
<hr class="hr-or">
<span class="span-or">or</span>
</div>
<form role="form">
<div class="form-group">
<label for="inputUsernameEmail">Username or email</label>
<input type="text" class="form-control" id="inputUsernameEmail">
</div>
<div class="form-group">
<a class="pull-right" href="#">Forgot password?</a>
<label for="inputPassword">Password</label>
<input type="password" class="form-control" id="inputPassword">
</div>
<div class="checkbox pull-right">
<label>
<input type="checkbox">
Remember me </label>
</div>
<button type="submit" class="btn btn btn-primary">
Log In
</button>
</form>
</div>
</div>
</div>
</li>