Carousel: Working dots

This commit is contained in:
2020-02-27 23:06:52 +01:00
parent 716e38d7cc
commit 3857223a54
2 changed files with 14 additions and 17 deletions

View File

@@ -248,23 +248,26 @@
@include breakpoint (xs) {
display: flex;
justify-content: center;
margin-top: 40px;
margin-top: 32px;
li {
display: block;
padding: 0 4px;
padding: 4px;
cursor: pointer;
&.active button {
background-color: $color-secondary;
transform: scale(1.25);
will-change: scale, background-color;
}
&:hover {
&:hover:not(.active) {
button {
background-color: lighten($color-lightpurple, 10);
}
}
}
button {
display: block;
width: 8px;
@@ -273,6 +276,7 @@
background-color: $color-lightpurple;
border-radius: 50vh;
text-decoration: none;
transition: all 600ms $ease-quart;
}
}
}