Skip to content

Commit cb71b88

Browse files
committed
Update SVG path, add drop shadow
1 parent ab7c942 commit cb71b88

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

_sass/_slider.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ $carousel-scroll-down-button-size-smaller: 25px;
3434

3535
#carousel-scroll-down-button > svg {
3636
max-width: $carousel-scroll-down-button-size-larger;
37-
height: auto;
3837
width: $carousel-scroll-down-button-size-larger;
39-
38+
height: auto;
39+
-webkit-filter: drop-shadow(0px 0px 2px black);
40+
filter: drop-shadow(0px 0px 2px black);
4041
}
4142
@media screen and (max-width: $carousel-breakpoint) {
4243
#carousel-scroll-down-button > svg {

index.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77
<!-- Floating scroll-down button -->
88
<button id="carousel-scroll-down-button" aria-label="Scroll to the end/bottom of the image carousel">
99
<svg xmlns="http://www.w3.org/2000/svg"
10-
width="50px" height="25px"
11-
viewBox="0 0 355 125">
12-
<path id="path4943"
13-
fill="none" stroke="black" stroke-width="20"
14-
d="M 0.29,0.41
15-
C 0.29,0.41 177.00,123.39 177.00,123.39
16-
177.00,123.39 353.71,0.41 353.71,0.41" />
10+
viewBox="-20 -20 355 155">
11+
<path id="carousel-scroll-down-button-path"
12+
fill="none" stroke="white" stroke-width="25" stroke-linecap="round" opacity=".9"
13+
d="M 0 0 C 0 0 141.4 86.1 141.4 86.1 C 141.4 86.1 282.8 0 282.8 0" />
1714
</svg>
1815
</button>
1916
</div>

0 commit comments

Comments
 (0)