Search code examples
csswebglcss-resetthree.js

WebGL Three.js and CSS reset


Is it OK to use CSS reset together with WebGL Three.js library? Does it affect anything?


Solution

  • Three.js works pretty much exclusively with the WebGL context created on a canvas, which is not affected by CSS at all. You can manipulate the canvas itself with CSS libraries, but that doesn't affect how the GL context works in the slightest. As such, the two libraries shouldn't have any problems co-existing.