Skip to content

Instantly share code, notes, and snippets.

@jesusr
Created December 1, 2014 16:51
Show Gist options
  • Save jesusr/3ce08cd097c06c6805c4 to your computer and use it in GitHub Desktop.
Save jesusr/3ce08cd097c06c6805c4 to your computer and use it in GitHub Desktop.
Button inside block (inverting colors transition)
%block_btn
+transition(background .1s ease-in 0s,color .1s ease-in 0s)
&:hover
background-color: rgba(white,.7)
=colorize($color: gray)
@extend %block_btn
&:hover
color: $color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment