4 ms·
I'm really excited about the web version of this. I think Google is doing fantastic work, making material design available to and usable by the community. I'm
by elliotlarson 10y ago
I'm really excited about the web version of this. I think Google is doing fantastic work, making material design available to and usable by the community. I'm sure their motives aren't entirely altruistic, but I appreciate them nonetheless.
As a nit, I'm not very fond of their CSS naming conventions, using a lot of double underscores and double dashes. For example:
> <section class="mdc-card__actions mdc-card__actions--vertical">
Seems like this could be cleaned up a bit with something like:
> <section class="mdc-card-actions mdc-card-actions-vertical">
But... this is just a matter of personal taste. I'm sure they have their reasons for the approach they took.
- segphault 10y agoThe conventions they use look like BEM, which is a relatively common approach for component-based design in CSS: https://css-tricks.com/bem-101/ https://css-tricks.com/bem-101/
- sratner 10y agoFor better or worse, there is reason behind the naming convention. It is known as BEM[1] -- block-element-modifier -- and I've seen quite a few design shops adopt it as standard. [1]: http://getbem.com/naming/ http://getbem.com/naming/
- elliotlarson 10y agoOh, that's interesting. Thanks for the link!