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 Nov 25, 2021
1 parent 25b0938 commit 612afbb
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 69,574 deletions.
Loading

0 comments on commit 612afbb

Please sign in to comment.