Watch: Using Modernizr CSS Classes
In this video Ill introduce you to how Modernizr can help you style your websites CSS based on the current browsers feature support.
Modernizr will add all the results of the detected features as classes to the html element. In this lesson well target browsers that support emoji and turn a boring bullet list into a fun emoji list. After watching this screencast youll have a basic understanding of how to use Modernrizrs CSS classes to conditionally style elements on your page. The code sample for this lesson can be found at on GitHub.
This is one lesson from SitePoint Premiums latest course Modernizr 3. If you enjoyed this video and want to see more, come and check out the rest of the course.
Loading the player