Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PriyamvadaShah authored Apr 27, 2024
1 parent 0bb253c commit 196f9c0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,31 @@ div12.addEventListener("mouseout",()=>{
div12.style.color="white";

});

let div12=document.querySelector("#projects");
div12.addEventListener("mouseover", ()=>{
div12.style.fontSize="1.58rem";
div12.style.transitionDuration = "1s";
div12.style.opacity="0.7";

});
div12.addEventListener("mouseout",()=>{
div12.style.fontSize="1.5rem";
div12.style.opacity="1";
div12.style.color="white";

});

let div12=document.querySelector("#contactme");
div12.addEventListener("mouseover", ()=>{
div12.style.fontSize="1.58rem";
div12.style.transitionDuration = "1s";
div12.style.opacity="0.7";

});
div12.addEventListener("mouseout",()=>{
div12.style.fontSize="1.5rem";
div12.style.opacity="1";
div12.style.color="white";

});

0 comments on commit 196f9c0

Please sign in to comment.