又是干貨滿滿的教程,源碼和筆記都總結(jié)好了,有需要的請前往這里(有疑問的希望能私信我,共同進步),地址:https://github.com/CruxF/IMOOC/tree/master/JavaScript?1530078110754
這是圖片無序加載的預(yù)覽地址(別舉報我涉H啊):https://cruxf.github.io/IMOOC/JavaScript/ImgPreloading/index2-4.html
這是圖片無序加載的預(yù)覽地址(別舉報我涉H啊):https://cruxf.github.io/IMOOC/JavaScript/ImgPreloading/index2-4.html
2018-06-27
又是干貨滿滿的教程,源碼和筆記都總結(jié)好了,有需要的請前往這里(有疑問的希望能私信我,共同進步),地址:https://github.com/CruxF/IMOOC/tree/master/JavaScript?1530078110754
這是圖片無序加載的預(yù)覽地址(別舉報我涉H啊):https://cruxf.github.io/IMOOC/JavaScript/ImgPreloading/index2-4.html
這是圖片無序加載的預(yù)覽地址(別舉報我涉H啊):https://cruxf.github.io/IMOOC/JavaScript/ImgPreloading/index2-4.html
2018-06-27
/*這里有個小技巧,給li加1像素的白邊,鼠標指上去把邊框顏色換掉就行了*/
.list li {
display: inline-block;
width: 24px;
height: 24px;
border: 1px solid #fff;
margin-bottom: 5px;
cursor: pointer;
}
/*這里直接寫border:1px solid #06c,就會出現(xiàn)鼠標指上去,導致這個面板出現(xiàn)抖動*/
.list li:hover {
border-color: #06c;
}
.list li {
display: inline-block;
width: 24px;
height: 24px;
border: 1px solid #fff;
margin-bottom: 5px;
cursor: pointer;
}
/*這里直接寫border:1px solid #06c,就會出現(xiàn)鼠標指上去,導致這個面板出現(xiàn)抖動*/
.list li:hover {
border-color: #06c;
}
2018-06-11
網(wǎng)速太快,看不到loading效果的小伙伴,可以用谷歌開發(fā)者工具自帶的2種方法,快捷方便,有需要的話可以看看這個:https://www.cnblogs.com/tu-0718/p/9158157.html
2018-06-10
看不到效果的小伙伴點擊谷歌瀏覽器里面的Network面板,然后第二行最后有一個Online選項,里面就有一個slow 3G和Fast 3G,任意選擇一個,就可以看到效果了,頂我上去
2018-06-08