I have a class content
and isActive
. Do I have to "include" the mixin twice like below so that it would apply when I have an element like <div class="content">
and <div class="content isActive">
.content {
padding: 0 40px;
&.isActive {
padding: 20px 40px;
background: black;
color: $color-white;
border-right: none;
.meta {
border-bottom: none;
}
@include tablet-vertical-down {
border: 0;
padding: 0;
}
}
@include tablet-vertical-down {
border: 0;
padding: 0;
}
}