For my web-page I'm looking into implementing an off-canvas menu for small screen sizes. The frontend framework I'm using (UIKit) implements the toggling using JavaScript.
Is this considered good practice? Or should I rather look into a solution solely based on CSS? I have no idea how many people will have JavaScript disabled on their mobile devices (which is the use case for the off-canvas menu, it is not shown on larger screen sizes via CSS media queries) and thus could not toggle the menu.