Is it OK to use CSS reset together with WebGL Three.js library? Does it affect anything?
Asked
Active
Viewed 308 times
1
-
If they wouldn't affect anything, then why would you use them. :P ( Not a real question.. or judgement.. ) – Joonas Oct 28 '11 at 11:08
-
let's have a website, it has CSS reset and WebGL canvas inside. Does CSS reset interfere the canvas or not? – Marek Sebera Oct 28 '11 at 12:16
1 Answers
3
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.

Toji
- 33,927
- 22
- 105
- 115