CSS表单不适用
我有以下表格:CSS表单不适用,css,Css,我有以下表格: <div class="jumbotron" id="jumbotron-6" align="center"> <form action="login.php" method="POST"> <input type="text" placeholder="Enter your email" name="email"> <input type="password" placeholder
<div class="jumbotron" id="jumbotron-6" align="center">
<form action="login.php" method="POST">
<input type="text" placeholder="Enter your email" name="email">
<input type="password" placeholder="and password" name="password">
<input type="submit">
</form>
</div>
但它并不适用。我有我的css链接到页面了
input[type=“text”],input[type=“password”]{
这将选择具有文本或密码类型的输入元素(在HTML中不可能)中的元素-您需要删除空格,以选择具有文本或密码类型的输入元素:
input[type=“text”],input[type=“password”]{
input[type=“text”],input[type=“password”]{
这将选择具有文本或密码类型的输入元素(在HTML中不可能)中的元素-您需要删除空格,以选择具有文本或密码类型的输入元素:
input[type=“text”],input[type=“password”]{
删除空格,以便输入[…]
input[type=“text”],input[type=“password”]{
大纲:无;
填充:10px;
显示:块;
宽度:300px;
边界半径:3px;
边框:1px实心#eee;
保证金:20px自动;
}
删除间距,使其成为输入[…]
input[type=“text”],input[type=“password”]{
大纲:无;
填充:10px;
显示:块;
宽度:300px;
边界半径:3px;
边框:1px实心#eee;
保证金:20px自动;
}
不,表单工作并显示,但CSS不会改变它不,表单工作并显示,但CSS不会改变它
input [type="text"], input [type="password"] {
outline: none;
padding: 10px;
display: block;
width: 300px;
border-radius: 3px;
border:1px solid #eee;
margin:20px auto;
}