Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Consider adding sketchy buttons #5

Open
munsonbh opened this issue Jan 3, 2015 · 0 comments
Open

Consider adding sketchy buttons #5

munsonbh opened this issue Jan 3, 2015 · 0 comments

Comments

@munsonbh
Copy link

munsonbh commented Jan 3, 2015

Check this code out and see if you think it would be a good addition to the theme:

btn {
  position: relative;
  border: solid #555;
  border-width:  1px;
  margin: 2px;
}

.btn:before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: -4px; /* margin + border */
  right: -4px; /* margin + border */
  display: block;
  border: solid #555;
  border-width: 2px;
  content: "";
  @include transform(rotate(.1deg));
}


.btn:after {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: -4px; /* margin + border */
  right: -4px; /* margin + border */
  display: block;
  border: solid #555;
  border-width: 3px;
  content: "";
  @include transform(rotate(-.7deg));
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant