Modular CSS for Web Components ‒ the VCL Is Here
vcl.github.io
vcl.github.io
- Uses camelCase for classes; Foundation and Bootstrap are hyphen separated, as is FontAwesome. This leads to weird examples like the notification one [1] where you have mixed naming conventions.
- All classes in the docs are prefixed with vcl. I guess this is some kind of namespacing, but again BS and Foundation don't have this, and you end up with slightly uglier and slightly more verbose class names.
It doesn't seem like the tabs or drawer examples work for me so it's not clear how it's handling those but it seems that it's not tied to jQuery, which I definitely do like.
You can namespace Bootstrap though [1] so perhaps you can change this VCL convention somehow too.
[1] http://stackoverflow.com/questions/13966259/how-to-namespace...
One question: does it have an easy way to implement a responsive off-canvas menu or do I need to roll it by myself?
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.
>The documentation client needs shadow DOM to render the examples. Please use a browser that supports shadow DOM to view this.
On Firefox 45.0.1
There is an option to try a polyfil version, which seems to be working.
e.g. "vcl css" google suggests "vlc css"
bootstrap, foundation, polymer, pure css, that are names you can remember.
Shameless self-plug: https://medium.com/@Hisako1337/very-fast-naming-process-417f...