Skip to content

Instantly share code, notes, and snippets.

@Jae-kwang
Created April 26, 2017 04:37
Show Gist options
  • Save Jae-kwang/ee59bd2bbc6dd720cf1c671542142358 to your computer and use it in GitHub Desktop.
Save Jae-kwang/ee59bd2bbc6dd720cf1c671542142358 to your computer and use it in GitHub Desktop.
element 를 중간에 위치시키는 방법
element 를 중간에 위치시키는 방법은 여러 가지가 있습니다.
element 의 너비, 높이가 고정이라면 [이건 방응형을 지원 합니다]
top: 50%; left: 50%; margin-top: -1 * height/2; margin-left: -1 * width/2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment