Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jonnyscholes
· 13y ago · 0 comments
You can sort of do this with @extend in sass - but I agree its nicer here, it seems to just sort of... do it.
Comments
[–]
krasimirtsonev
13y ago
Yep, @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
OP
13y ago
Yeah 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.