Live data from Hacker News

Material Design Lite Components in HTML/CSS/JS

github.com

71–77 of 77 posts

Re: Material Design Lite Components in HTML/CSS/JS

#72
Ohh the BEM bummer. All those __ and -- makes my eye hurt. Write decent line of code in HTML file with BEM classes and it looks worse than inline styles (visually). For the rest of library, I'm still trying and testing, but I don't think I'll be moving any of my main projects to this library because of BEM.

Re: Material Design Lite Components in HTML/CSS/JS

#73

Thanks alot for sharing it.

Material Design Lite is the framework that is most true to MD guidelines and requires less code to implement. That being said, it is still early in development.

I tried Polymer for 6 months ago. It looked, but it was every early, and I was developing with Angular. Later, I switch to React which is a better fit for me than Angular. But I still wanted MD, so I tried both Material_UI and Materialize. Material-UI is a React implementation of MD and Materialize uses jQuery. I quickly discarded them. MDL is as the name says very small and mostly built with CSS. You can customize the CSS classes easy, if you need to. I like BEM. It might be difficult for some to use, but long-term in large production apps, it is great for easy maintenance.

I encourage everyone that like MD to try it out and file issue requests for bugs or feature requests if you are missing something.

Re: Material Design Lite Components in HTML/CSS/JS

#74
post #70

If only this had dropdown/selection menus. I probably would have used it in a project.

Agreed. This project is awesome but without usable form elements (there's more to forms that text fields) this isn't really usable for anything a little more complex.

Re: Material Design Lite Components in HTML/CSS/JS

#76
Thank you for this. I still feel like the Material Design implementation within Polymer is rough around the edges. Having issues with Firefox, for example, in terms of optimization and documentation is still very incomplete. Looking forward to working with both libraries, though!
Post reply on HN