woocommerce/plugins/woocommerce-admin/client/stylesheets/_mixins.scss

17 lines
278 B
SCSS
Raw Normal View History

// Rem output with px fallback
@mixin font-size($sizeValue: 16, $lineHeight: false ) {
font-size: $sizeValue + px;
font-size: ($sizeValue / 16) + rem;
@if ($lineHeight) {
line-height: $lineHeight;
}
}
@mixin hover-state {
&:hover,
&:active,
&:focus {
@content;
}
}