Format CSS Button

Asked

Viewed 3,967 times

2

I am developing a web application and would like to leave my button with two visuals.A button with login and another button longer but with the same look, same color, and larger width. But I’m not getting it

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

Look at the Buttons

inserir a descrição da imagem aqui

  <button type="button" onclick="login()" class="entrar" >Entrar</button>  <button type="button" onclick="" class="esqueceu" >Esqueceu a Senha?</button> 

1 answer

6


You just have to work CSS property by property until you get something like this.

Here’s a start.

.btn {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13;
  width: 165px;
  height: 35px;
  background-color: #0066b8;
  padding: 9px 50px;
  border: none;
  color: white;
}

.btn-large {
  width: 340px;
}
<button class="btn">Entrar</button>

<hr style="margin: 10px 0" />

<button class="btn btn-large">Próximo</button>

Browser other questions tagged

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