0
Good morning! I’m doing some tests with the Sass function it does not return me anything. I thought it was something I was typing wrong, or something like that. I copied the exact function of this site here and still the mistake continues. The function is here
@function cp($target, $container) {
@return calc-percent($target, $container);
}
.my-module {
width: calc-percent(650px, 1000px);
}
I’ve already cleaned browser cache, I’ve tried online tools... Anyway, what could I do ?
You are declaring the function
calc-percent
? Because in the link the cp function is only a minor name for Calc-Percent, which is declared before cp.– VitorLuizC