1
Fork 0
userstyles/source/tildes-baukula/_mixins.scss

18 lines
331 B
SCSS
Raw Normal View History

2019-03-31 22:39:47 +00:00
// Mixin to easily color standard and hover states
2020-03-01 21:40:01 +00:00
@mixin color-hover($standard, $hover) {
2019-03-31 22:39:47 +00:00
color: $standard;
&:hover {
color: $hover;
}
}
2020-03-01 21:40:01 +00:00
// The same as color-hover but for the background-color
@mixin background-hover($standard, $hover) {
2019-03-31 22:39:47 +00:00
background-color: $standard;
&:hover {
background-color: $hover;
}
}