Skip to content

Commit

Permalink
Fit transparent image background and hover
Browse files Browse the repository at this point in the history
Add window resize event listener to check if image is filling width or
height and then set either (width,max-height) or (height,max-width) such
that small images are still resized to fill the view area.

Signed-off-by: ktprograms <ktprograms@gmail.com>
  • Loading branch information
ktprograms committed Dec 8, 2021
1 parent cf9f5f3 commit 3ecc122
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 69,574 deletions.
Loading

0 comments on commit 3ecc122

Please sign in to comment.