我有一個問題。由於我是bootstrapping的新手,我在startbootstrap.com上定製了此模板。但是,當我使用input type = text並刷新頁面時,實際文本框中沒有可見的字符。它承認角色,但它是不可見的。
這裏是我的登錄DIV
<!-- Login Section -->
<section id="login" class="content-section text-center">
<div class="login-section">
<div class="container">
<div class="col-lg-8 col-lg-offset-2">
<h2>Log-in</h2>
<form>
<label for="username">Username:</label>
<input type="text" name="username" id="username">
</form>
</div>
</div>
</div>
</section>
的代碼,我覺得這裏的問題不是HTML代碼。我不知道,我只從HTML開發知道HTML CSS和PHP語言。我不熟悉jQuery,bootstrap和JavaScript。請幫幫我。
特定類的CSS代碼:
.login-section {
width: 100%;
padding: 50px 0;
color: #fff;
background: url(../img/downloads-bg.jpg) no-repeat center center scroll;
background-color: #000;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
我想你想尋找的CSS的輸入,而不是'在.login-section'。特別是文字顏色 – Turnip
我的CSS中沒有輸入,所以不會影響輸入類型=文本。嗯...... – Roch
@Roch所以你不能輸入輸入字段?或者你可以輸入輸入字段,但文本沒有顯示出來? – aphextwix