DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
html image keep aspect ratio
Don't set height AND width. Use one or the other and the correct aspect ratio will be maintained.
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#html
#image
#aspect
#ratio
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit