2 ms·
You can sort of do this with @extend in sass - but I agree its nicer here, it seems to just sort of... do it.
by jonnyscholes 13y ago
You can sort of do this with @extend in sass - but I agree its nicer here, it seems to just sort of... do it.
- krasimirtsonev 13y agoYep, @extends in SASS are exactly you need, but unfortunately they don't support params and interpolation in their names doesn't work as expected.
- jonnyscholes 13y agoYeah totally agree. Can also lead to very unreadable sass files to if your not very careful. Whilst teaching new devs where I work we ask them not to use @extend until we suggest it one a few reviews have been done.