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
16 changes: 16 additions & 0 deletions public/Buttons/Deenadayalan_2222ka09/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Animated button</title>
</head>
<body>
<div class="Animated-button">
<button>Click me!</button>
</div>

</body>
</html>
26 changes: 26 additions & 0 deletions public/Buttons/Deenadayalan_2222ka09/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.Animated-button{
width: 100%;
display: flex;
height: 768px;
background-color: white;
justify-content: center;
align-items: center;
}

.Animated-button button{
width: 130px;
height: 50px;
background-color: white;
border-radius: 50px;
transition-duration: 0.5s;
}

.Animated-button button:hover{
width: 170px;
background-image: linear-gradient(90deg, blue, black);
color: white;
border-radius: 0px;
box-shadow: 0px 0px 20px black;
border: 2px solid white;
transition-duration: 0.5s;
}