Skip to content
Snippets Groups Projects
Commit 48ab5e45 authored by Chris Lawton's avatar Chris Lawton
Browse files

adding button mixin

parent bb299141
No related branches found
No related tags found
No related merge requests found
...@@ -77,3 +77,20 @@ ...@@ -77,3 +77,20 @@
@include rem-font-size($size); @include rem-font-size($size);
} }
} }
// button mixin
@mixin button($bg) {
padding: 10px 60px;
background: $bg;
border: 1px solid $color--white;
transition: background $transition;
&:hover {
background: darken($bg, 8%);
transition: background $transition;
}
&:active {
background: darken($bg, 25%);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment