Skip to content
Merged
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 Components/Buttons/Invisible-Hover-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 name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Invisible Hover Button</title>
</head>

<body>
<button class="hidden-text">Hover Me</button>
</body>

</html>
25 changes: 25 additions & 0 deletions Components/Buttons/Invisible-Hover-Button/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f4; /* Light background color */
}

.hidden-text {
color: transparent; /* Text is invisible */
text-decoration: none;
text-underline-offset: 4px;
font-size: 20px;
padding: 10px 20px;
background-color: #e0e0e0; /* Background color */
border-radius: 8px;
transition: color 0.3s ease-in-out, text-decoration-color 0.3s ease-in-out;
cursor: pointer;
}

.hidden-text:hover {
color: blue;
text-decoration: wavy underline;
text-decoration-color: blue;
}
5 changes: 5 additions & 0 deletions assets/json_files/buttons.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@
"previewLink": "../../Components/Buttons/Impossible-Toggle-Button/index.html",
"sourceLink": "https://github.com/Rakesh9100/Beautiify/tree/main/Components/Buttons/Impossible-Toggle-Button"
},
{
"title": "Invisible Hover Button",
"previewLink": "../../Components/Buttons/Invisible-Hover-Button/index.html",
"sourceLink": "https://github.com/Rakesh9100/Beautiify/tree/main/Components/Buttons/Invisible-Hover-Button"
},
{
"title": "Jelly Button",
"previewLink": "../../Components/Buttons/Jelly-Button/index.html",
Expand Down