- Visual Studio Code
- Live Sass Compiler
- Live Server
Note: The Watch now button is enabled when you're saving sass files.
@mixin button-base()
@include typography(button)
display: inline-flex
position: relative
height: $button-height
border: none
vertical-align: middle
&:hover
cursor: pointer
$base-color: #c6538c;
$border-dark: rgba($base-color, 0.88);
.alert {
border: 1px solid $border-dark;
}
.alert {
border: 1px solid rgba(198, 83, 140, 0.88);
}
// Font weight class
$font-weights:("regular":400,
"medium":500,
"bold":700,
);
// Font weight function
@function weight($weight-name) {
@return map-get($font-weights, $weight-name);
}
// Uses
p {
font-weight:weight(medium);
}
p {
font-weight: 500;
}