Closed sli1989 closed 5 years ago
@sli1989 canvas-nest.js v2版本为了区域渲染等特性,是做了相对较大的重构导致部分的向下不兼容,其中包括一些CSS属性的调整导致了目前的这个问题(emmm, 后续会跟进一下解决这个问题)。 在Next主题中是作为全局渲染的背景特效,还是先使用v1的吧。
thanks for your help.
用 css 将 body 铺满整个页面
<style> html,body{height: 100%;} </style>
https://raw.githubusercontent.com/hustcc/canvas-nest.js/master/dist/canvas-nest.js
旧版js却可以 不知道为什么