Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andff committed Nov 5, 2024
1 parent 7a53349 commit eddfbf9
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions html botao animado/botao.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Botão com Fundo Animado</title>
<style>
/* Estilos básicos do botão */
.botao-animado {
padding: 15px 30px;
font-size: 18px;
font-weight: bold;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
outline: none;
background-size: 300% 300%; /* Para um efeito de deslizamento */
animation: bgAnimation 3s infinite linear; /* Duração e loop da animação */
}

/* Animação de cores */
@keyframes bgAnimation {
0% {
background-color: #ff6b6b;
}
25% {
background-color: #ff9f43;
}
50% {
background-color: #1dd1a1;
}
75% {
background-color: #54a0ff;
}
100% {
background-color: #ff6b6b;
}
}
</style>
</head>
<body>

<button class="botao-animado">Clique Aqui</button>

</body>
</html>

0 comments on commit eddfbf9

Please sign in to comment.