顯示不了輪播效果,代碼報(bào)錯(cuò)的原因在insertrule那里。。
2020-02-13
同學(xué)們可以這樣寫,給box:hover就行
.box {
width: 100px;
height: 100px;
background-color: black;
transition:width 2s linear 1s ;
}
.box:hover{
width: 500px;
}
.box {
width: 100px;
height: 100px;
background-color: black;
transition:width 2s linear 1s ;
}
.box:hover{
width: 500px;
}
2020-02-09
已經(jīng)看完了,對(duì)animation、transform和transition三者有一定的了解,再結(jié)合js,看完老師講解之后的Demo,發(fā)現(xiàn)學(xué)習(xí)到很多沒接觸過的知識(shí)點(diǎn),課后覺得很有必要自己動(dòng)手寫一遍。
2020-02-05
https://codepen.io/arm-liang/full/KKwyJyV
可以借鑒一波,使用百分比translate替代js width配置,使用css transition替代等待和動(dòng)畫時(shí)長(zhǎng)配置
可以借鑒一波,使用百分比translate替代js width配置,使用css transition替代等待和動(dòng)畫時(shí)長(zhǎng)配置
2020-01-04
https://codepen.io/arm-liang/full/KKwyJyV
可以間接一波,使用百分比替代js width配置,使用css transition替代等待和動(dòng)畫時(shí)長(zhǎng)配置
可以間接一波,使用百分比替代js width配置,使用css transition替代等待和動(dòng)畫時(shí)長(zhǎng)配置
2020-01-04