Skip to content

Commit

Permalink
Merge pull request #1284 from Ravi-1606/1283
Browse files Browse the repository at this point in the history
Enhanced Hover Effects for Article Listings #1283
  • Loading branch information
ANSHIKA-26 authored Oct 22, 2024
2 parents 919e5bc + 0c67306 commit 87500ef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,6 @@ <h2 href="index.html">WordWise</h2>
<a href="contact_us.html">Contact Us</a>
<a href="contact_us.html">Give Feedback</a>
</div>




<div class="dropdown" >
<!-- Profile Icon -->
<a href="#" class="profile-icon" id="profileDropdown" onclick="toggleDropdown()">
Expand Down
20 changes: 20 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3339,3 +3339,23 @@ nav{
z-index: 999;

}
.flex-item {
transition: transform 0.3s ease;
margin: 10px;
}

.flex-item:hover {
transform: scale(1.05);
z-index: 1;
}

.article {
border-radius: 5px;
overflow: hidden;
box-shadow: 0 2px 8px transparent;
transition: box-shadow 0.3s ease;
}

.flex-item:hover .article {
box-shadow: 0 4px 12px transparent;
}

1 comment on commit 87500ef

@vercel
Copy link

@vercel vercel bot commented on 87500ef Oct 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.