Skip to content

Commit

Permalink
Animation on home tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian342 committed Jun 30, 2024
1 parent 0bd0049 commit eff689b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Portfolio/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,21 @@
<h1>Hi, I'm <span>Brian Kimanzi</span><span class="animate" style="--i:2;"></span></h1>
<div class="text-animate">
<h3>Data Analyst</h3>
<span class="animate" style="--i:3;"></span>
</div>
<p>Driven data analysis student with a passion for uncovering
insights from information. Skilled in [list 2-3 relevant
tools like Excel, SQL, Python] and eager to leverage data to
solve real-world problems.</p>
solve real-world problems.
<span class="animate" style="--i:4;"></span>

</p>

<div class="btn-box">
<a href="#" class="btn">Hire me</a>
<a href="#" class="btn"> Let's Talk</a>
<span class="animate" style="--i:5;"></span>


</div>
</div>
Expand Down
5 changes: 4 additions & 1 deletion Portfolio/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ section {
}

.home-content h1 {
position: relative;
display: inline-block;
font-size: 5.6rem;
font-weight: 700;
line-height: 1.3;
Expand Down Expand Up @@ -682,7 +684,8 @@ span {

.logo .animate,
.navbar .animate,
#menu-icon .animate{
#menu-icon .animate,
.home.show-animate .animate{
animation: showRight 1s ease forwards;
animation-delay: calc(.3s * var(--i));
}
Expand Down

0 comments on commit eff689b

Please sign in to comment.