DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
keep aspect ratio of image css
img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
PREVIOUS
NEXT
Tagged:
#aspect
#ratio
#image
#css
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit