4
I have this HTML
and would like each input
stay in separate lines, in this case below I had 3 lines, one for each input
.
*{
margin: 0px;
padding: 0px;
background-color: #ccc;
font-family: 'Arial';
font-size: 16px;
color: #1C1C1C;
line-height: 1.5;
}
.log-adm{
background-color: #000;
text-align: center;
}
.log-adm-campos{
width: 200px;
}
<form action="" method="post" name="loguin" class="log-adm">
<input type="text" name="usuario" placeholder="Usuário" required="required" class="log-adm-campos">
<input type="password" name="senha" placeholder="Senha" required="required" class="log-adm-campos">
<input type="submit">
</form>
It worked perfectly! Only they were left aligned, to center I do what? It did not work text-align: center/
– Gladison
I’ll edit the reply @Gladison
– Rafael Augusto
All right, test now
– Rafael Augusto
continues left alignment. I would also like to centralize inputs. RSSS
– Gladison
Run my example, it’s on
centro
, now I need to understand why yours is not– Rafael Augusto
It worked!!! Perfect! Show
– Gladison
@Legal Gladison ;) can mark as solved
– Rafael Augusto