DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
how to set image size without changing aspect ratio in css
img { display: block; max-width:230px; max-height:95px; width: auto; height: auto; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#set
#image
#size
#changing
#aspect
#ratio
#css
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit