Skip to content

Commit

Permalink
Caret
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbendel committed Jan 24, 2025
1 parent 8dab3eb commit 40f4f8b
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions homepage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,29 +114,30 @@
}

.learn-more {
padding-bottom: 2rem;
display: inline-flex;
flex-direction: column;
align-items: center;
font-family: Arial, sans-serif;
font-size: 16px;
font-size: 2rem;
font-weight: bold;
color: #00d084;
text-decoration: none;
cursor: pointer;
}

.learn-more .arrow {
.learn-more .caret {
margin-top: 4px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #00d084;
width: 16px;
height: 16px;
border-bottom: 4px solid #00d084; /* Teal color */
border-right: 4px solid #00d084;
transform: rotate(45deg); /* Creates the caret (V shape) */
transition: transform 0.2s ease;
}

.learn-more:hover .arrow {
transform: translateY(2px);
.learn-more:hover .caret {
transform: rotate(45deg) translateY(2px); /* Moves down slightly on hover */
}

.logo-img {
Expand Down Expand Up @@ -508,12 +509,10 @@
</div>
</div>
</div>
<div class="hero-container hero-learn-more">
<a href="#main-content" class="learn-more">
<span>Learn more</span>
<div class="arrow"></div>
</a>
</div>
<a href="#main-content" class="learn-more">
<span>Learn more</span>
<div class="caret"></div>
</a>
</div>

<div class="main container" id="main-content">
Expand Down

0 comments on commit 40f4f8b

Please sign in to comment.