Created
November 4, 2013 12:31
-
-
Save ingozoell/7301814 to your computer and use it in GitHub Desktop.
Cross-Browser border-radius support (+http://css3pie.com/ )
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
.border-radius { | |
-webkit-border-radius: 12px; /* Safari 3-4, iOS 1-3.2, Android 1.6- */ | |
-moz-border-radius: 12px; /* Firefox 1-3.6 */ | |
border-radius: 12px; /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */ | |
} | |
/* Support via CSS3 PIE http://css3pie.com/ */ | |
.pie { behavior: url(http://iz-multisite.de/cms/PIE.php); } |
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
<body> | |
<!-- Add class="pie" to selektor --> | |
<a class="border-radius pie">Link</a> | |
... | |
</body> |
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
<?php | |
header( 'Content-type: text/x-component' ); | |
include( 'PIE.htc' ); // Add to WP Root = Directory of "wp-config.php" | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment