Estilo para Button

15/08/2022

0

Ola!
Eu estou iniciando nesse mundo dev e tenho uma hiper dúvida. Estou fazendo um projeto pessoal para portifolio e me deparei com um problema. Na minha tela inicial é para ter uma animação e em seguida exibir os botões de cadastro e login, mas eu não encontrei nada que pudesse me ajudar a fazer isso e eles estão sendo exibidos juntos. Poderiam me ajudar?

<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="teste2.css">
<link
rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<link rel="icon" type="imagem/png" href="noname.png">
<title>Document</title>
</head>
<body>
<div class="home">
<div class="homeLeft">
<img src="home.png" alt="home">
</div>
<div class="sweet">
<img src="sweet.png" alt="sweet">
</div>
<div class="homeRight">
<img src="homes.png" alt="home">
</div>
</div>
<button type="submit" class="btn-nav">Fazer Cadastro</button> </br>
<button type="submit" class="btn-nav">Fazer Login</button>
</body>
</html>

meu CSS:


body {
background-color: #063861;
width: 100vw;
height: 100vh;
}

.home {
-webkit-animation: fadeinout 4s linear forwards;
animation: fadeinout 4s linear forwards;
}

@-webkit-keyframes fadeinout {
0%,100% { opacity: 0; }
50% { opacity: 1; }
}

@keyframes fadeinout {
0%,100% { opacity: 0; }
50% { opacity: 1; }
}

.homeLeft {
text-align: left;
margin-left: 100px;
}

.sweet {
text-align: center;
}

.homeRight {
text-align: right;
margin-right: 100px;
}
Leticia Oliveira

Leticia Oliveira

Responder

Post mais votado

15/08/2022

https://www.w3schools.com/js/js_timing.asp

Nomad

Nomad
Responder

Mais Posts

03/10/2022

Leticia Oliveira

Muito obg!!
Responder

Assista grátis a nossa aula inaugural

Assitir aula

Saiba por que programar é uma questão de
sobrevivência e como aprender sem riscos

Assistir agora

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar