Skip to content

Instantly share code, notes, and snippets.

@Jae-kwang
Created April 27, 2017 08:15
Show Gist options
  • Save Jae-kwang/66b47476d2693c7ba1c10d1603040690 to your computer and use it in GitHub Desktop.
Save Jae-kwang/66b47476d2693c7ba1c10d1603040690 to your computer and use it in GitHub Desktop.
이미지 center crop
.thumb {
display: inline-block;
width: 200px;
height: 200px;
margin: 5px;
border: 3px solid #c99;
background-position: center center;
background-size: cover;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment