[英]Adding icon button in tab material design lite
Is it possible to add icon button in tab in Material Design Lite? 是否可以在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. 您可以,但是必须修复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 http://codepen.io/Schnueggel/pen/OyYjVO
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.