Skip to content

Commit

Permalink
Merge pull request #19 from KavyaBS123/master
Browse files Browse the repository at this point in the history
added hovering
  • Loading branch information
07sumit1002 authored Jun 20, 2024
2 parents ab9005d + 8bb6a64 commit a0e83b8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,17 @@ header{
left: 0;
transform: translateX(50%);
}


.box {
background: #ffffff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.box:hover{
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.carweb img{
Expand Down

0 comments on commit a0e83b8

Please sign in to comment.