Browser Requirements
The behave3d library is written in strict-mode ES5 Javascript and uses CSS3 3D transforms. It doesn't depend on other libraries and makes little attempts at supporting old browsers. Browser-specific CSS prefixes are auto-detected (as of version 0.81).
The key features that the library needs supported by the browser in order to operate are:
- CSS 3D transforms:
translate3d()
,rotate3d()
andscale3d()
- CSS 3D perspective:
perspective-origin
andtransform-style: preserve-3d
Check http://caniuse.com/#feat=transforms3d for details on the support of these functions. According to the data (from StatCounter GlobalStats for December, 2015), about 66% of the used browsers support the CSS 3D Transforms and Perspective. Another 17% support these, but with browser-specific prefixes.
Supported Browsers
- Android Browser - supports all required features as of version 46.
- Chrome (desktop) - supports all required features as of version 36.
- Chrome (Android) - supports all required features as of version 47.
- Edge - supports all required features from its first version - version 13.
- Firefox - supports all required features as of version 16.
- Internet Explorer - NOT supported as even the last version, v11, has no
transform-style: preserve-3d
. - Opera - supports all required features as of version 23.
- Opera Mini - NOT supported.
- Safari (desktop) - supports all required features as of version 9.
- Safari (iOS) - supports all required features as of version 9.2.