Reputation: 2002
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.
Upvotes: 0
Views: 590
Reputation: 1156
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
Upvotes: 1