Skip to content

Commit

Permalink
added animations and styles that was removed previously
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidnaseer committed Sep 30, 2024
1 parent b542e7e commit c18a872
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,44 @@ section dt.visible, section dd.visible {
}
/* COUNTDOWN ENDS */

.float-in-left {
transform: translateX(-20px);
opacity: 0;
transition: transform 1s, opacity 1.5s;
}

.float-in-right {
transform: translateX(+20px);
opacity: 0;
transition: transform 1s, opacity 2s;
}

.float-in-left.visible, .float-in-right.visible {
transform: translateX(0);
opacity: 1;
}

h1 {
font-size: 2.7rem;
padding: .75em;
text-align: center;
}

h2 {
margin: .5em;
font-size: 1.7rem;
}

section h1 {
text-decoration: underline;
text-decoration-color: yellowgreen;
text-underline-offset: 6px;
}

.no-wrap {
white-space: nowrap;
}

footer {
background-color: black;
color: white;
Expand Down

0 comments on commit c18a872

Please sign in to comment.