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
17 changes: 17 additions & 0 deletions submissions/examples/ease-zoom-hover/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Zoom In / Out Hover

## What does this do?

Adds a zoom scaling effect when hovering over an element.

## How is it used?

```html
<div class="zoom-hover">
Content
</div>
```

## Why is it useful?

The zoom hover effect improves visual feedback and highlights interactive elements such as cards, buttons, images, and feature sections.
25 changes: 25 additions & 0 deletions submissions/examples/ease-zoom-hover/demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zoom Hover Demo</title>
<link rel="stylesheet" href="style.css">
</head>

<body>

<h1>Zoom In / Out Hover</h1>

<p>Hover over the cards to see the zoom effect.</p>

<div class="demo-grid">
<div class="card zoom-hover">Card 1</div>
<div class="card zoom-hover">Card 2</div>
<div class="card zoom-hover">Card 3</div>
</div>

</body>

</html>
40 changes: 40 additions & 0 deletions submissions/examples/ease-zoom-hover/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.zoom-hover {
transition: transform 0.3s ease;
}

.zoom-hover:hover {
transform: scale(1.12);
}

body {
font-family: Arial, sans-serif;
background: #f8fafc;
padding: 40px;
max-width: 900px;
margin: auto;
}

h1,
p {
text-align: center;
}

.demo-grid {
display: flex;
justify-content: center;
gap: 24px;
flex-wrap: wrap;
margin-top: 30px;
}

.card {
width: 180px;
height: 120px;
background: white;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
font-weight: bold;
}
Loading