On Wed, Mar 5, 2014 at 3:43 PM, Tedd Sperling <t...@sperling.com> wrote:

> Interesting, but I can't get it to work.
>
> http://php1.net/a/tilt/
>
> I must be missing something.
>

Since transform is still an experimental feature of CSS3, you'll need to
use vendor prefixes:

.tilt-2d {
  -webkit-transform: rotate(25deg);
  -moz-transform: rotate(25deg);
  transform: rotate(25deg);
}

The reason the codepen example works without them is because the vendor
prefixes are being added automatically at run-time by a handy little script
from Lea Verou > prefixfree.js (http://leaverou.github.io/prefixfree/).


-- 
Jon Reece
jon.re...@gmail.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to