4 ms·
Polymer has a really great flexbox helper that relies on attributes to add the appropriate flexbox properties. Just add 'layout' to the container, and then 'ho
by nostrademons 12y ago
Polymer has a really great flexbox helper that relies on attributes to add the appropriate flexbox properties. Just add 'layout' to the container, and then 'horizontal' or 'vertical'. Any element you want to grow, add 'flex':
https://www.polymer-project.org/docs/polymer/layout-attrs.html https://www.polymer-project.org/docs/polymer/layout-attrs.ht...
- nostrademons 12y agoEdit: which was removed 19 days ago: https://github.com/Polymer/polymer/commit/d45aa98c9267153ce020fdfbe04d9cdd2750e1cd https://github.com/Polymer/polymer/commit/d45aa98c9267153ce0... I guess looking at how verbose the implementation was and what it actually gives you over learning the CSS, you're probably better off learning the CSS.
- spankalee 12y agoI think it'll be sticking around, just not in Polymer core. Core should be as focused as possible.