Cross Browser CSS Transforms – cssSandpaper

Post pobrano z: Cross Browser CSS Transforms – cssSandpaper

The transform property of CSS allows rotating, scaling, and skewing objects in HTML.

However, as expected, it doesn't work consistently on every browser (specially IE) and requires a different rule for almost each of them like:

  • -moz-transform for Mozilla
  • -o-transform for Opera
  • -webkit-transform for Webkit engines (like Safari)

cssSandpaper is a JavaScript library which enables IE to support CSS transforms and every other browser to work with the same rule definitions.


The library requires its own CSS rules like -sand-transform, -sand-box-shadow or -sand-gradient.

Once they are defined, it searches for these rules in the CSS file and applies the browser-specific transformations via JavaScript.

There is an impressive demo provided which can be tested with every browser.

Special Downloads:
Ajaxed Add-To-Basket Scenarios With jQuery And PHP
Free Admin Template For Web Applications
jQuery Dynamic Drag’n Drop

SSLmatic – Cheap SSL Certificates (from $19.99/year)
Follow WebResourcesDepot At Twitter And Get More Resources!

Tags: ,

Related posts

Dodaj komentarz