How to primecoat one class to another sass?

Hi all, is there to sass the ability to add declared above the class to another class?
For example:
Declare the 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

How to add it to the class btn using sass?
For example:
.btn
 @import .btn-black

Is there a way to mix classes?
April 7th 20 at 15:40
0 answer

Find more questions by tags Sass