Great implementation of Material Design, the best I've seen so far. With other material design implementations [1] I ran into problems with checkboxes, sliders and other design choices, as well as problems on mobile. I appreciate the design choices made for MDL. It also runs smooth on mobile and the form elements like checkboxes and sliders work really nice. Also, useful documentation along with codepen and easy clip…
Material Design Lite Components in HTML/CSS/JS
31–40 of 77 posts
Re: Material Design Lite Components in HTML/CSS/JS
#32I loved that in contrast with the other Material Design Toolkits, this one uses only CSS for its animations.
Are you saying that's a good thing mainly for performance reasons? I ask mainly because I vaguely remember someone running the numbers and finding out that js animations surprisingly beat CSS animations in a number of not-unrealistic scenarios. (I know there's other reasons for favouring CSS animations)
Here's the two articles:
https://css-tricks.com/myth-busting-css-animations-vs-javasc... - this article was written by the author of GSAP
http://davidwalsh.name/css-js-animation
The basic point of the article:
The results confirm what is widely reported on the web - CSS animations are significantly faster than jQuery. However, on most devices and browsers I tested, the JavaScript-based GSAP performed even better than CSS animations (by a wide margin in some cases, like on the Microsoft Surface RT GSAP was probably at least 5 times faster than the CSS transitions created by Zepto, and on the iPad 3 iOS7 transforms were significantly faster when animated with GSAP instead of CSS transitions)
Re: Material Design Lite Components in HTML/CSS/JS
#33"That said, the large, diverse number of implementations available are often quite liberal with their interpretation of the spec (not their fault!) and their opinions don’t always reflect what the Material Design team would consider ‘correct’."
Nevertheless I found a number of deviations from the design specs:
- Disabled buttons should not have a z level
- FAB ripples should originate from the center
- Icon buttons should have a touch area of at least 40px
- The same goes for slider knobs (at least 30px, already small)
On the website: - The scrollable tabs on the site are scrolled just a couple of pixels per arrow click, instead of scrolled per tab
- Scroll areas should have -webkit-overflow-scrolling: touch, the current site is not scrollable on Mobile Safari
Author of Polythene for Mithril, https://github.com/ArthurClemens/PolytheneRe: Material Design Lite Components in HTML/CSS/JS
#34There are some issues with scrolling in general and with scrolling with tooltips open on ios, but will follow and see if they eventually get around those.
Re: Material Design Lite Components in HTML/CSS/JS
#35Re: Material Design Lite Components in HTML/CSS/JS
#36Re: Material Design Lite Components in HTML/CSS/JS
#37So, I just wanna say I am absolutely, incredibly excited for this. I've loved the design of paper-elements, but I don't want to attempt integrating Polymer into my projects. That being said, the use of BEM is a huge turn off. The markup for a simple card uses seventeen different classes, which is absolutely a nightmare to memorize. For comparison, a card from Materialize uses only five to seven classes (depending on…
Re: Material Design Lite Components in HTML/CSS/JS
#38Great news that Google has started this library. This will help MD implementors like me. "That said, the large, diverse number of implementations available are often quite liberal with their interpretation of the spec (not their fault!) and their opinions don’t always reflect what the Material Design team would consider ‘correct’." Nevertheless I found a number of deviations from the design specs: - Disabled buttons…
Re: Material Design Lite Components in HTML/CSS/JS
#39So, I just wanna say I am absolutely, incredibly excited for this. I've loved the design of paper-elements, but I don't want to attempt integrating Polymer into my projects. That being said, the use of BEM is a huge turn off. The markup for a simple card uses seventeen different classes, which is absolutely a nightmare to memorize. For comparison, a card from Materialize uses only five to seven classes (depending on…
Re: Material Design Lite Components in HTML/CSS/JS
#40So, I just wanna say I am absolutely, incredibly excited for this. I've loved the design of paper-elements, but I don't want to attempt integrating Polymer into my projects. That being said, the use of BEM is a huge turn off. The markup for a simple card uses seventeen different classes, which is absolutely a nightmare to memorize. For comparison, a card from Materialize uses only five to seven classes (depending on…
I'm curious, what's keeping you from trying Polymer? Its paper-elements are a very good implementation of Material Design, and the library is very light weight.