#{"max(1vw, 20px)"}
이런 식으로 max나 min을 #{}로 감싸줘야 함
sass-lang.com/documentation/syntax/special-functions
Sass: Special Functions
CSS defines many functions, and most of them work just fine with Sass’s normal function syntax. They’re parsed as function calls, resolved to plain CSS functions, and compiled as-is to CSS. There are a few exceptions, though, which have special syntax
sass-lang.com
github.com/sass/node-sass/issues/2815
font-size: max(vw, px) causes internal error · Issue #2815 · sass/node-sass
NPM version (npm -v): 6.4.1 Node version (node -v): v10.10.0 Node Process (node -p process.versions): Node Platform (node -p process.platform): darwin Node architecture (node -p process.arch): x64 ...
github.com
'css' 카테고리의 다른 글
단어 사이에서 줄바꿈하고 단어길이가 길 경우 줄바꿈 (0) | 2020.12.03 |
---|---|
input 자동완성 css 수정 (0) | 2020.11.12 |
flex input width auto (0) | 2020.11.09 |
[css] min() / max() (0) | 2020.11.04 |
image-set (0) | 2020.10.27 |
댓글