Skip to content

Instantly share code, notes, and snippets.

@khoand0000
Created November 22, 2015 05:11
Show Gist options
  • Save khoand0000/eaa6a1f696bfc7051015 to your computer and use it in GitHub Desktop.
Save khoand0000/eaa6a1f696bfc7051015 to your computer and use it in GitHub Desktop.
padding vs. margin
  • Padding relates to click, hover on the element; so just using padding when showing box of the element (bound by border) is larger
  • Using margin when increase space between 2 elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment