Skip to content

Commit 4834f50

Browse files
authored
Merge pull request #1394 from neeru24/patch-3
Add Glow Effect on Image Hover
2 parents c341fb8 + 645d50f commit 4834f50

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Website/css/styles.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,14 @@ h1 {
15181518
.github-image img {
15191519
width: 100%;
15201520
border-radius: 8px;
1521+
transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
15211522
}
1523+
1524+
.github-image img:hover {
1525+
box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.8);
1526+
transform: translateY(-5px);
1527+
}
1528+
15221529
/* Dark Mode Styles */
15231530

15241531
.dark-mode .github-section{

0 commit comments

Comments
 (0)