does not work at all when inside a gss file that is linked by the main html page. Not even the @else triggers. However, if applied inline, in the head section of the page, it works.
I can verify that this problem only arises with properties such as ::window[width] and $scroll-top. When using other properties such as div[width] for the condition, I'm having no issues.
Anyone know the reason behind this? It feels as if the external gss file can't access properties such as ::window[width] and $scroll-top but that can't be the case since I'm able to use them in other sections of my code.
Yet another oddity I've come across regarding inline gss vs external gss. This following code
does not work at all when inside a gss file that is linked by the main html page. Not even the @else triggers. However, if applied inline, in the head section of the page, it works.
I can verify that this problem only arises with properties such as ::window[width] and $scroll-top. When using other properties such as div[width] for the condition, I'm having no issues.
Anyone know the reason behind this? It feels as if the external gss file can't access properties such as ::window[width] and $scroll-top but that can't be the case since I'm able to use them in other sections of my code.