Last active
August 29, 2015 14:01
-
-
Save lmclister/444dc706ae3fed999a16 to your computer and use it in GitHub Desktop.
CSS Shapes Modernizr Example 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="modernizr.js"></script> | |
<style> | |
h1 { color: red; } | |
.shapes h1 { color: green; } | |
</style> | |
</head> | |
<body> | |
<h1>This text is GREEN if CSS Shapes is supported, and RED if not.</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment