Created
August 3, 2010 01:11
-
-
Save huacnlee/505639 to your computer and use it in GitHub Desktop.
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
/* Firefox & Webkit 基于 CSS 的圆角实现 */ | |
/* form:http://hugege.com/2008/11/09/css3-firefox-chrome-safari/ */ | |
.box { | |
/* 对chrome、Safari这两个webkit内核的浏览器来说,是用-webkit-border-radius来实现的 */ | |
-webkit-border-top-left-radius:5px 10px; | |
-webkit-border-top-right-radius:5px 10px; | |
-webkit-border-bottom-right-radius:5px 10px; | |
-webkit-border-bottom-left-radius:5px 10px; | |
/* 著名皮肤制作人utom总结了圆角属性不同浏览器下的运用 */ | |
-moz-border-radius: 5px; | |
-khtml-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
border-radius: 5px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment