I want to make my font size fluid using css calc() in React but it keeps throwing error when I mix units vw and px.
font-size: calc(14px + (26px - 14px)) * ((100vw - 300px) / (1600 - 300));
Got an error and SASS can't compile 100vw - 300px.
What is the best way to fix this?