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
12 changes: 12 additions & 0 deletions public/Buttons/Devaraj_21CSA29/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>

<h2>Animation occurs when you press the button</h2>

<button class="button">Click</button>

</body>
</html>
19 changes: 19 additions & 0 deletions public/Buttons/Devaraj_21CSA29/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.button
{
padding: 20px 30px;
font-size: 28px;
text-align: center;
cursor: pointer;
color: #fff;
background-color: #d36d0e;
border-radius: 20px;
box-shadow: 0 10px #999;
}

.button:hover {background-color: #007095}

.button:active {
background-color: #007095;
box-shadow: 0 5px rgb(25, 25, 25);
transform: translateY(5px);
}