-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from EnigmaVSSUT/dev-v2
style(home): mobile infinite carousel
- Loading branch information
Showing
3 changed files
with
132 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.leftSlider{ | ||
animation: 10s slide infinite linear; | ||
display: inline-block; | ||
} | ||
|
||
.rightSlider{ | ||
animation: 10s slideR infinite linear; | ||
display: inline-block; | ||
} | ||
|
||
@keyframes slide { | ||
from { | ||
transform: translateX(-102.5%); | ||
} | ||
to{ | ||
transform: translateX(0); | ||
} | ||
} | ||
|
||
|
||
@keyframes slideR { | ||
from { | ||
transform: translateX(0); | ||
} | ||
to{ | ||
transform: translateX(-102.5%); | ||
} | ||
} | ||
|
||
.slide-container{ | ||
padding: 60px 0 0; | ||
overflow: hidden!important; | ||
|
||
white-space: nowrap; | ||
} | ||
|
||
.cards{ | ||
|
||
} |