feat(landing): add partners carousel
This commit is contained in:
parent
c890ac388e
commit
bbef275b3d
8 changed files with 160 additions and 10 deletions
|
|
@ -103,16 +103,14 @@ $height: 30rem;
|
|||
position: relative;
|
||||
flex: 0 0 100%;
|
||||
width: 100%;
|
||||
background-color: #f99;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
.carousel__slide:nth-child(even) {
|
||||
background-color: #99f;
|
||||
}
|
||||
// .carousel__slide:nth-child(even) {
|
||||
// background-color: #99f;
|
||||
// }
|
||||
|
||||
.carousel__slide:before {
|
||||
content: counter(item);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
|
@ -157,10 +155,9 @@ $height: 30rem;
|
|||
.carousel__navigation {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
bottom: 1rem;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.carousel__navigation-list,
|
||||
|
|
@ -173,7 +170,7 @@ $height: 30rem;
|
|||
display: inline-block;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
background-color: #333;
|
||||
background-color: rgba(51, 51, 51, 0.7);
|
||||
background-clip: content-box;
|
||||
border: 0.25rem solid transparent;
|
||||
border-radius: 50%;
|
||||
|
|
@ -236,6 +233,7 @@ $height: 30rem;
|
|||
.carousel__navigation-item.enabled {
|
||||
.carousel__navigation-button {
|
||||
opacity: 0.5;
|
||||
background-color: white;
|
||||
background-color: #eeeeee;
|
||||
box-shadow: inset 0 0 2px black;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue