Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Animations-CSS/start button/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<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">
<title>new button</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div >
<Button class="btn"><span></span>Start</span></Button>
</div>
</body>
</html>
53 changes: 53 additions & 0 deletions Animations-CSS/start button/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
background-color: #004106;
}

.btn{
font-size: 25px;
padding: 30px;
border-radius: 50%;
background-color: rgb(0, 255, 0);
color: #224831;
border-radius: 50%;
border: solid;
border-color: #1d8600;
transition: 1s;
}

.btn:hover{
font-size: 25px;
padding: 30px;
border-radius: 50%;
background-color: rgb(17, 255, 0);
color: #224831;
border-radius: 50%;
border-color: #4a6c41;
transition: 1s;
animation: glowing 1s infinite alternate;
}

@keyframes glowing {
0% {
background-color: rgb(0, 255, 0);
box-shadow: 0 0 3px rgb(213, 255, 176);
}
50% {
background-color: rgb(131, 247, 122);
box-shadow: 0 0 10px rgb(198, 255, 197);
}
100% {
background-color: rgb(0, 255, 0);
box-shadow: 0 0 3px rgb(213, 255, 176);
}
}