Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
kai9987kai authored Nov 15, 2023
1 parent bb40922 commit 2dd0dc1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,30 @@
// expected output: 1
}
</script>
<style>
.shadow-emboss {
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
border: 1px solid #ddd; /* Emboss effect */
transition: transform 0.3s ease;
}

.shadow-emboss:hover {
transform: scale(1.05); /* Slightly enlarges the image on hover */
}
</style>
</head>
<body>

<!-- Your body content here, including images -->

<script>
window.onload = function() {
var images = document.getElementsByTagName('img');
for(var i = 0; i < images.length; i++) {
images[i].classList.add('shadow-emboss');
}
};
</script>
<style>
/* Popup and button styles */
.popup {
Expand Down

0 comments on commit 2dd0dc1

Please sign in to comment.