News for hackers. Stuff that matters.
Re:Modular CSS for Web Components ‒ the VCL Is Here by anonyfox on Wednesday March 30, 2016 @06:03AM (#11388170)
Cool, this looks like a great set of visual components to design SPAs with.... kinda bootstrap with many plugins but also lightweight.

One question: does it have an easy way to implement a responsive off-canvas menu or do I need to roll it by myself?

Re:Modular CSS for Web Components ‒ the VCL Is Here by vanthome on Saturday April 02, 2016 @11:11AM (#11411796)
Of course, the necessary components exist: The drawer component can contain the navigation, here you can even see it statically in all three states:

http://vcl.github.io/#vcl-drawer

In the drawer content, I would use this:

http://vcl.github.io/#vcl-navigation

Just add some JS to control the state and toggle the `vclOpen` class.