Skip to content

Instantly share code, notes, and snippets.

@nqthqn
Created September 6, 2017 15:45
Show Gist options
  • Save nqthqn/78098949fb71e1eeee42b73df71461fb to your computer and use it in GitHub Desktop.
Save nqthqn/78098949fb71e1eeee42b73df71461fb to your computer and use it in GitHub Desktop.
ui tips
text-shadow: 0 1px 2px rgba(0,0,0,0.20);

try, button hover state: 1px shift up with the increased drop shadow spread

box-shadow: 0px 2px 4px rgba(0,0,0,0.18);

16px font with 1.5 line height is pretty good safe for body copy.

https://twitter.com/i/moments/880688233641848832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment