Error: ".toolbar .weixin .toolbar-btn" failed to @extend ".icon-weixin".
The selector ".icon-weixin" was not found.
Use "@extend .icon-weixin !optional" if the extend should be able to fail.
on line 178 of F:\web\study\tollbar\styles\toolbar3.scss
Use --trace for backtrace.
The selector ".icon-weixin" was not found.
Use "@extend .icon-weixin !optional" if the extend should be able to fail.
on line 178 of F:\web\study\tollbar\styles\toolbar3.scss
Use --trace for backtrace.
2017-03-30
本著相互學(xué)習(xí)交流的目的,詳細(xì)整理出此課程的講課源碼;
整理不易,如果此源碼對(duì)同學(xué)有用處,請(qǐng)將分享精神傳遞下去,在慕課網(wǎng)的其他課程的學(xué)習(xí)中,也共享自己的源碼。
https://github.com/HZ-1/requirejs_demo
整理不易,如果此源碼對(duì)同學(xué)有用處,請(qǐng)將分享精神傳遞下去,在慕課網(wǎng)的其他課程的學(xué)習(xí)中,也共享自己的源碼。
https://github.com/HZ-1/requirejs_demo
2017-03-27
我用 compass scss 來實(shí)現(xiàn)的相同功能,所需的 html 代碼和 scss 代碼都非常少
<div class="toolbar">
<a href="#" class="weixin">
<span class="layer"></span>
</a>
<a href="#" class="feedback"></a>
<a href="#" class="app">
<span class="layer"></span>
</a>
<a href="#" class="top"></a>
</div>
<div class="toolbar">
<a href="#" class="weixin">
<span class="layer"></span>
</a>
<a href="#" class="feedback"></a>
<a href="#" class="app">
<span class="layer"></span>
</a>
<a href="#" class="top"></a>
</div>