Skip to content

Commit

Permalink
Update index.css
Browse files Browse the repository at this point in the history
  • Loading branch information
ASquare04 authored Jul 11, 2024
1 parent 0e812f7 commit a777ac4
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
background-image: url('../src//public/me.png');
}

.backGround, .backGround1, .backGround2 {
.backGround, .backGround1, .backGround2, .effect {
background-attachment: fixed;
background-position: center;
transition: background-image 0.5s ease-in-out; /* Smooth transition for background image */
Expand All @@ -54,6 +54,9 @@
background-image: url('../src/public/bg3.png');
}

.effect{
background-image: url('../src/public/effect.png');
}

.resume {
position: relative;
Expand Down Expand Up @@ -250,3 +253,23 @@
.skill-bar-fill {
animation: skill-bar-animation 2s ease-in-out forwards;
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
color: white;
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.relative:hover .overlay {
opacity: 1;
}

0 comments on commit a777ac4

Please sign in to comment.