Created
June 27, 2019 10:17
-
-
Save Hawksbillcat/61abcb5c85e48490aa4aa65c68a71b6d to your computer and use it in GitHub Desktop.
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
.leftArrow { | |
width: 30px; | |
height: 30px; | |
background: rgba(255, 255, 255, 0.7); | |
position: absolute; | |
top: calc(50% - 15px); | |
left: 30px; | |
border-radius: 2px; | |
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2), 0px 2px 4px rgba(0, 0, 0, 0.1); | |
line-height: 30px; | |
text-align: center; | |
color: gray; | |
} | |
.rightArrow { | |
width: 30px; | |
height: 30px; | |
background: rgba(255, 255, 255, 0.7); | |
position: absolute; | |
top: calc(50% - 15px); | |
right: 30px; | |
border-radius: 2px; | |
box-shadow:0px 4px 8px rgba(0, 0, 0, 0.2), 0px 2px 4px rgba(0, 0, 0, 0.1); | |
line-height: 30px; | |
text-align: center; | |
color: gray; | |
} | |
.mainSlide { | |
width: 20%; | |
height: 70%; | |
background: white; | |
padding-left:120px; | |
position: absolute; | |
top: 15%; | |
left: 25%; | |
border-radius: 3px; | |
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3), 0px 5px 10px rgba(0, 0, 0, 0.2); | |
z-index: 1; | |
} | |
.leftSlide { | |
width: 15%; | |
height: 60%; | |
background: white; | |
position: absolute; | |
top: 20%; | |
left: 20%; | |
border-radius: 3px; | |
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5), 0px 2px 4px rgba(0, 0, 0, 0.8); | |
opacity: 0.5; | |
} | |
.rightSlide { | |
width: 15%; | |
height: 60%; | |
background: white; | |
position: absolute; | |
top: 20%; | |
left: 40%; | |
padding-left:125px; | |
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5), 0px 2px 4px rgba(0, 0, 0, 0.8); | |
} | |
.slide { | |
box-sizing: border-box; | |
transition-duration: 600ms; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment