Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css keep aspect ratio image

.image-full {
    background: url(...some image...) no-repeat;
    background-size: cover;
    background-position: center center;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #aspect #ratio #image
ADD COMMENT
Topic
Name
4+9 =