I’m unable to change the size and color of the input button type Submit:

Asked

Viewed 248 times

0

   input [type=submit] { //esse comando não ta funconando 
	background-color: #111f66; 
	border: none;
 <form method="POST" action="processa.php"  >
		<input type="email" name="" placeholder="Usuário" >
		<input type="password" name="" placeholder="Senha" >
		<input type="submit" value="ACESSAR"/>   //esse botão
 

1 answer

0


Your mistake is that you left a space when you declared the property, between the word input and the keys [] should not have room

inserir a descrição da imagem aqui

This way you wrote the comment in CSS with double bar // tb is not advisable, in CSS to write comments use /* seu comentário aqui */

input[type=submit] {
  background-color: #111f66;
  border: none;
}
<form method="POST" action="processa.php">
  <input type="email" name="" placeholder="Usuário">
  <input type="password" name="" placeholder="Senha">
  <input type="submit" value="ACESSAR" />
</form>

  • Vlw thanks! I got it here

  • @gobiraaaa face if you think you answered the question consider mark it as accepted by marking this icon just below the arrows of my answer. So your question is not pending without accepted answer and has already solved []s

Browser other questions tagged

You are not signed in. Login or sign up in order to post.