教你用面向对象编程写一个烟花爆炸的特效
想要学会这个漂亮的烟花吗?快来跟着学习吧~ 结构 我们只需要一个盒子表示烟花爆炸范围就可以了 样式 fire是烟花 注意添加绝对定位 .container{ margin: 0 auto; height: 500px; width: 1200px; background: black; position: relative; overflow: hidden; } .fire{ width: 10px; background: whit
下载地址
用户评论