0

Is it possible to add icon button in tab in Material Design Lite? The tab is only a tag so I don't know to include a icon button within.

IKavanagh
  • 6,089
  • 11
  • 42
  • 47
Mr_Thorynque
  • 1,749
  • 1
  • 20
  • 31

1 Answers1

1

You can but you have to fix the css. Perhaps only place the icon there instead of the complete button.

<a href="#scroll-tab-3" class="mdl-layout__tab ">
  <span class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored">
    <i class="material-icons">add</i>
  </span>
</a>

http://codepen.io/Schnueggel/pen/OyYjVO

Christian Steinmann
  • 1,156
  • 1
  • 11
  • 13