Skip to content

Instantly share code, notes, and snippets.

@fredericmarx
Created October 26, 2015 15:55
Show Gist options
  • Save fredericmarx/ff0629c57f68a8b9189f to your computer and use it in GitHub Desktop.
Save fredericmarx/ff0629c57f68a8b9189f to your computer and use it in GitHub Desktop.
Parallel perspective button outline with css `clip-path`
$button-offset: .5em;
clip-path: polygon(0 $button-offset, $button-offset 0, 100% 0, 100% calc(100% - #{$button-offset}), calc(100% - #{$button-offset}) 100%, 0 100%);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment