简体   繁体   中英

Adding icon button in tab material design lite

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM