Is there a tile component in MDL?

I can not find the tile component in MDL on getmdl.io. The map component is well documented, but not the tile component.

+4
source share
2 answers

I assume that you do not mean "Grid Lists" instead of fragments. As far as I can tell, there is no tile specification.

If so, you will need to combine the grid component and the map. This will provide you most of the way with a little extra customizable code to determine the size of the card, and possibly change a few other bits if necessary.

0
source

- , codepen: http://codepen.io/zavoloklom/pen/wtApI.

<a class="tile tile-lg tile-sqr tile-red ripple-effect" href="#">
<span class="content-wrapper">
  <span class="tile-content">
    <span class="tile-img" style="background-image: url(http://www.google.com/design/images/design-minutes.png);"></span>
    <span class="tile-holder tile-holder-sm">
      <span class="title">Design Minutes</span>
    </span>
  </span>      
</span>
</a>

. : http://mdlhut.com/2015/07/understanding-the-mdl-grid/

0

All Articles