Created
October 25, 2012 22:32
-
-
Save Ricardo-Diaz/3955901 to your computer and use it in GitHub Desktop.
CSS: Individual Rounded Corner
This file contains hidden or 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
Adding individual rounded corners – border-radius | |
You can also choose which individual 4 corners are rounded or have a blanket rounding of every corner. | |
#Bottom_Right { | |
height: 65px; | |
width:160px; | |
-moz-border-radius-bottomright: 50px; | |
border-bottom-right-radius: 50px; | |
} | |
#Bottom_Left { | |
height: 65px; | |
width:160px; | |
-moz-border-radius-bottomleft: 50px; | |
border-bottom-left-radius: 50px; | |
} | |
#Top_Right { | |
height: 65px; | |
width:160px; | |
-moz-border-radius-topright: 50px; | |
border-top-right-radius: 50px; | |
} | |
#Top_Left { | |
height: 65px; | |
width:160px; | |
-moz-border-radius-topleft: 50px; | |
border-top-left-radius: 50px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment