Skip to content

Commit

Permalink
change images in Problems to grayscale #
Browse files Browse the repository at this point in the history
instead of doing a grayscale filter with CSS
  • Loading branch information
blahosyl committed Mar 10, 2024
1 parent 55ab2e4 commit d54d599
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -257,18 +257,17 @@ p {
.grayscale-pic {
width: 100%;
height: 100%;
filter: grayscale(100%);
opacity: 0.6;
}

/* Set the background image for each box */

#millions .grayscale-pic {
background: url("../images/lots-of-paper.webp") no-repeat center center/cover;
background: url("../images/lots-of-paper-grayscale.webp") no-repeat center center/cover;
}

#frustrated .grayscale-pic {
background: url("../images/frustrated.webp") no-repeat center center/cover;
background: url("../images/frustrated-grayscale.webp") no-repeat center center/cover;
}

#learn-list .grayscale-pic {
Expand Down
Binary file added assets/images/frustrated-grayscale.webp
Binary file not shown.
Binary file added assets/images/lots-of-paper-grayscale.webp
Binary file not shown.

0 comments on commit d54d599

Please sign in to comment.