Skip to content

Commit

Permalink
feat: smooth transitions for the time element
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed Aug 29, 2024
1 parent def86b4 commit 6d731b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Make the progress bar use 100% of the width

- Smooth transitions for the `time` element

### Removed

- Remove fallback for "Make navigation links' URL be provided with `url` not `link`
Expand Down
3 changes: 2 additions & 1 deletion src/styles/components/_semantics.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ time {
color: var(--color-accent);
font-weight: 700;
font-size: 0.875rem;
transition: border 0.1s ease, font-weight 0.1s ease;

strong {
display: inline-block;
Expand All @@ -66,7 +67,7 @@ time {
font-weight: 800;

strong {
animation: none;
animation: blink 1.5s infinite alternate;
}
}
}
Expand Down

0 comments on commit 6d731b4

Please sign in to comment.