Skip to content

Commit

Permalink
Replace JPEGXL with AVIF
Browse files Browse the repository at this point in the history
Signed-off-by: Still Hsu <[email protected]>
  • Loading branch information
Still34 committed Jan 22, 2025
1 parent 74b2837 commit 355338f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ footer {
}

/* Responsive adjustments */
@media (max-width: 34.375rem) {
@media (max-width: 60rem) {
/* 550px */
h1 {
font-size: var(--scale-4);
Expand Down Expand Up @@ -471,7 +471,7 @@ body {
var(--bgColor) 0%,
var(--bgColor2) 100%
); */
background-image: url("../images/background.jxl");
background-image: url("../images/background.avif");
animation: 1s ease-out var(--delay) 1 transitionAnimation; /* duration/timing-function/delay/iterations/name */
animation-fill-mode: forwards;
background-repeat: no-repeat;
Expand Down
Binary file added images/background.avif
Binary file not shown.
Binary file removed images/background.jxl
Binary file not shown.

0 comments on commit 355338f

Please sign in to comment.