Skip to content

Commit

Permalink
cards issue
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavlata committed Sep 3, 2023
1 parent 1b9d65e commit 2b12553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ gsap.from("#about-us img, #about-us-in", {
trigger:"#about-us",
scroller:"body",
// markers;true,
start:"top 70%",
start:"top 100%",
end:"top 65%",
scrub:1
}
Expand All @@ -70,12 +70,12 @@ gsap.from("#about-us img, #about-us-in", {
gsap.from(".card", {
scale:0.8,
opacity:0,
duration: 1,
duration: 0.1,
stagger:0.1,
scrollTrigger:{
trigger:".card",
scroller:"body",
// markers;true,
markers:false,
start:"top 70%",
end:"top 65%",
scrub:1
Expand Down
2 changes: 0 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ video{
}

#cards-container{
/* background-color: red; */
height: 60vh;
display: flex;
align-items: center;
Expand All @@ -247,7 +246,6 @@ video{
.card{
height: 80%;
width: 24%;
/* background-color: blue; */
border-radius: 10px;
background-size: cover;
background-position: center;
Expand Down

0 comments on commit 2b12553

Please sign in to comment.