Update carousel to include opacity animation
Refactored slide navigation to integrate smooth fade animations using opacity changes. Introduced `carouselOpacity` and `triggerAnimation` to manage animation state, and replaced direct slide index changes with the `setSlide` method for improved modularity. Updated HTML and SCSS to support the new animation behavior.
This commit is contained in:
@@ -216,10 +216,6 @@ main .container {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.display > span {
|
||||
animation: fadein 1.5s;
|
||||
}
|
||||
|
||||
.display > span {
|
||||
width: 700px;
|
||||
height: 400px;
|
||||
|
||||
Reference in New Issue
Block a user