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 24, 2021
1 parent 93a5990 commit aa829e4
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 69,574 deletions.
Loading

0 comments on commit aa829e4

Please sign in to comment.