Improve hero carousel [1/-] #136
This commit is contained in:
5 files changed
+371
-302
No files matched your search
@@ -1,5 +1,4 @@
|
||||
/** @format */
|
||||
|
||||
.home {
|
||||
&-background {
|
||||
&-container {
|
||||
@@ -23,8 +22,8 @@
|
||||
isolation: isolate;
|
||||
&-slide {
|
||||
position: relative;
|
||||
height: 70vh;
|
||||
border-radius: 10px !important;
|
||||
height: 100%;
|
||||
border-radius: 0px !important;
|
||||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -34,6 +33,7 @@
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
filter: brightness(0.7);
|
||||
}
|
||||
&-container {
|
||||
position: absolute;
|
||||
@@ -42,16 +42,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
mask-image: linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0.1),
|
||||
black 90%
|
||||
);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0.1),
|
||||
black 90%
|
||||
);
|
||||
opacity: 0.8;
|
||||
}
|
||||
&-image {
|
||||
position: absolute;
|
||||
@@ -63,18 +54,19 @@
|
||||
bottom: 0;
|
||||
background-position: center;
|
||||
opacity: 1;
|
||||
mask-image: linear-gradient(
|
||||
to right,
|
||||
transparent 2%,
|
||||
rgba(0, 0, 0, 0.5) 20%,
|
||||
black 70%
|
||||
);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to right,
|
||||
transparent 2%,
|
||||
rgba(0, 0, 0, 0.5) 20%,
|
||||
black 70%
|
||||
);
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgb(0 0 0 / 0.45),
|
||||
transparent
|
||||
);
|
||||
}
|
||||
}
|
||||
&-icon {
|
||||
position: absolute;
|
||||
@@ -111,14 +103,21 @@
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
display: flex;
|
||||
height: 70vh;
|
||||
height: 100%;
|
||||
width: 70%;
|
||||
padding: 2em;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-start;
|
||||
padding-bottom: 5em;
|
||||
}
|
||||
&-indicator {
|
||||
&-container {
|
||||
width: calc(100% - 2em) !important;
|
||||
margin-top: -1em !important;
|
||||
margin-left: 1em !important;
|
||||
margin-right: 1em !important;
|
||||
}
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
border-radius: 0;
|
||||
|
||||
Reference in new issue
Block a user