25 lines
No EOL
365 B
SCSS
25 lines
No EOL
365 B
SCSS
.container {
|
|
position: relative;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
@media screen and (max-width: 1350px) {
|
|
.content {
|
|
max-width: calc(100vw - 250px);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 700px) {
|
|
.slider {
|
|
position: relative;
|
|
top: 20px;
|
|
transform: none;
|
|
margin-bottom: 60px;
|
|
}
|
|
} |