9 ms·
The one we set in CSS is a fallback for devices that doesn't have Accelerometer / Gyroscope or support the APIs used. The values set in data attributes are for
by Gigacore 11y ago
The one we set in CSS is a fallback for devices that doesn't have Accelerometer / Gyroscope or support the APIs used. The values set in data attributes are for the plugin to make use of in order to apply the effect. I'm working on picking up the blur / color from the box-shadow property dynamically, but it appears to be a bit tricky as we can only get the complete value set to the property and not just blur and color.