Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css resize image without distortion

.frame {
  height: 250px;
  background: transparent no-repeat center;
  background-size: cover;
  background-image: url('http://i.imgur.com/lNB7QSt.jpg')
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to get an angled section end css 
Css :: css how to center images in a table cell 
Css :: css rotate animation 
Css :: css how do i remove highlighting 
Css :: add shadows on an image css 
Css :: break sentence css 
Css :: inline block align center 
Css :: calc sass variables 
Css :: center with css 
Css :: css text color border 
Css :: hidden div css 
Css :: gatsby hide scroll bar 
Css :: box sizing reset 
Css :: blur edges css 
Css :: how to blur background image in css 
Css :: css smooth text shadow 
Css :: mat select remove underline 
Css :: image float animation css 
Css :: schatten css 
Css :: css animation image up and down 
Css :: box shador of one border css 
Css :: react app css add background image 
Css :: css caret-color property 
Css :: ngx-charts css 
Css :: bodyparser limit 
Css :: faire un fond fade to transparent css 
Css :: lightred color hex 
Css :: Install Node Sass/Scss 
Css :: bot page description background selector top.gg 
Css :: hr tag customize using css 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =