mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
639 B
SCSS
35 lines
639 B
SCSS
4 months ago
|
#ParallaxSlider {
|
||
|
|
||
|
#ParallaxSliderTns > div{
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
height: 750px;
|
||
|
}
|
||
|
|
||
|
.parallax-slide-item{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
width: 100%;
|
||
|
height: 750px;
|
||
|
}
|
||
|
// scss
|
||
|
.parallax-slider {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 750px;
|
||
|
background-size: auto 120vh;
|
||
|
background-position: center 0;
|
||
|
|
||
|
|
||
|
}
|
||
|
.main-content{
|
||
|
position: relative;
|
||
|
z-index: 2;
|
||
|
max-width: 80%;
|
||
|
width: 500px;
|
||
|
}
|
||
|
}
|