Categories
How to use min in sass?
this is how max-width doesn't work: min(50%, 1100px)
Answer the question
In order to leave comments, you need to log in
It is necessary to escape max-width: #{'min('}50%, 1100px#{')'} Or the entire line width: #{'min(50%, 1100px#)'};, if without any tricks with variables, etc.
max-width: #{'min('}50%, 1100px#{')'}
width: #{'min(50%, 1100px#)'};
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question