Skip to content

Commit

Permalink
remove scroll indicator bouncie arrow on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
pipercucu committed Jan 9, 2024
1 parent 78a53ab commit 45c6b67
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions src/components/Hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,23 @@
}
}

.hero::before {
animation: bounce 1s ease infinite;
bottom: 2rem;
color: var(--primary);
content: "╲╱";
font-size: 2rem;
height: 4rem;
left: 50%;
letter-spacing: -1px;
line-height: 4rem;
margin-left: -3rem;
opacity: 0.8;
position: absolute;
text-align: center;
width: 6rem;
@media (min-width: 801px) {
.hero::before {
animation: bounce 1s ease infinite;
bottom: 2rem;
color: var(--primary);
content: "╲╱";
font-size: 2rem;
height: 4rem;
left: 50%;
letter-spacing: -1px;
line-height: 4rem;
margin-left: -3rem;
opacity: 0.8;
position: absolute;
text-align: center;
width: 6rem;
}
}

@keyframes bounce {
Expand Down

0 comments on commit 45c6b67

Please sign in to comment.