Solved

Modernizr and CSS vendor prefixes

Posted on 2014-09-10
4
155 Views
Last Modified: 2014-09-10
Hello Experts,

Does Modernizr automatically detect/add CSS vendor prefixes?

e.g.  

@keyframes  turns to: @-webkit-keyframes  AND animation turns to: -webkit-animation

I remember once once it was somhow working but in this recent version it seem to not work anymore. Thanks.
0
Comment
Question by:Refael
  • 2
  • 2
4 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40314273
No, check the build page to know what you can fix : http://modernizr.com/download/#-opacity-shiv-cssclasses-prefixes-load

test page : http://jsfiddle.net/dkbcvqLa/
0
 

Author Comment

by:Refael
ID: 40314350
Hi leakim971 :-)

Always thank you! The animation in jsfiddle does not work  in Safari. So i assume modernizr does not add/replace the vendor prefixes. That's all i wanted to know. Working with polyfill and modernizr might be a good next on my learning list :-)
0
 
LVL 82

Expert Comment

by:leakim971
ID: 40314366
yes, that was the goal of the test page :)
0
 

Author Closing Comment

by:Refael
ID: 40314377
leakim971 you are one of the best :-)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question