Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript I need a Modernizr test for transform-style/preserve-3d.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #157334
    nixnerd
    Participant

    Hey all,
    Hope you had an awesome Thanksgiving.

    I need a Modernizr test to detect support for the CSS property transform-style/preserve-3d.

    I found this:

    https://coderwall.com/p/tebdqa

    and this:

    https://gist.github.com/Matori/4123325

    But I can’t get either to work. Where do I need to put them in modernizr.js?

    Also, I get the impression from something I read on Github that there’s an easier way… something about ‘testAllProps’?

    Any help is much appreciated thanks!

    #159302
    ruddog
    Participant

    Joe_Temp, sorry about “delete-me” ;) .I wrote new post with more general solution for css value tests.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.