I was wondering if it’s possible to include css or js based on the size of the screen. For example on desktop I’d like to display something which requires js, however on mobile I would like to hide that. In the latest cookbook recipe there was an option to include css/js/code based on the page. Is it possible to expand that and also add screen size?
Yep, right, but it actually only works for CSS, not for JS files. But for JS files you could load them conditionally with script based on screen width.