Skip to content

Instantly share code, notes, and snippets.

@Ricardo-Diaz
Created October 25, 2012 22:32
Show Gist options
  • Save Ricardo-Diaz/3955901 to your computer and use it in GitHub Desktop.
Save Ricardo-Diaz/3955901 to your computer and use it in GitHub Desktop.
CSS: Individual Rounded Corner
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