Slide 20
Slide 20 text
How would this rules
interact with the base
button styles?
(it’s actually useless, afaik)
What if we decided to
refactor the base
button?
//_content-actions.scss
.content-actions {
//[...]
&__button {
flex: 1 0 auto;
padding: rem-px-offset(1rem, -2px) 1rem;
line-height: 1.5;
&:hover,
&:focus {
background: $grey-1;
}
&:active {
background: $grey-2;
}
}
}