?
Solved

Modernizr and CSS vendor prefixes

Posted on 2014-09-10
4
Medium Priority
?
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
Suggested Courses

801 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