Skip to content

Instantly share code, notes, and snippets.

@yuriy-o
Created June 20, 2022 21:08
Show Gist options
  • Save yuriy-o/83957a4838acec719c1415eced38996d to your computer and use it in GitHub Desktop.
Save yuriy-o/83957a4838acec719c1415eced38996d to your computer and use it in GitHub Desktop.
mixin для button
@mixin main-button($font, $font-size, $font-color, $border-size, $border-color, $padding, $transition-speed, $hover-color)
{
display:inline-block;
text-decoration:none;
text-transform:uppercase;
font-family: $font;
font-size: $font-size;
color:$font-color;
border:$border-size solid $border-color;
padding:$padding;
transition: color $transition-speed, background $transition-speed;
&:hover
{
background:$border-color;
color:$hover-color;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment