Categories
How to do this in less?
Here is the code from scss:
@mixin fit-content ($attribute) { #{$attribute}: -moz-fit-content; #{$attribute}: -webkit-fit-content; #{$attribute}: fit-content; }
Answer the question
In order to leave comments, you need to log in
.fit-content(@attribute) { @{attribute}: -moz-fit-content; @{attribute}: -webkit-fit-content; @{attribute}: fit-content; }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question