CSS – min, max work in SaaS SassError: Internal Error: Conflicting Units:

  • Home / Blog / CSS – min,…

CSS – min, max work in SaaS SassError: Internal Error: Conflicting Units:

I’m trying to use functions min And max With two different values ​​in the sauce,

width: max(55vw, 650px);

And it gets me wrong

SassError: Internal Error: Incompatible units: 'vw' and 'px'

This function works better in simple CSS, but not in SaaS. Does this mean that SaaS has limited features compared to CSS or am I missing something? After comparison % And vw Pixels are the most commonly used method for functions such as minimum and maximum.

How can I do this?

Write a Comment

Your email address will not be published. Required fields are marked *

x