T
T
test0962021-10-07 19:12:08
Sass
test096, 2021-10-07 19:12:08

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

1 answer(s)
A
Ankhena, 2021-10-07
@test096

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.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question