Answer the question
In order to leave comments, you need to log in
How to mix one class with another sass?
Hello everyone, is it possible in sass to add the class declared above to another class?
For example:
I declare a class: btn-black
.btn-black
background-color: transparent
border: 1px solid #000
border-radius: 0
font-size: 20px
transition: background-color .25s ease, color .25s ease
&:hover
color: #fff
background-color: #000
.btn
@import .btn-black
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question