Skip to content

Instantly share code, notes, and snippets.

@magemore
Created April 25, 2012 04:48
Show Gist options
  • Save magemore/2486478 to your computer and use it in GitHub Desktop.
Save magemore/2486478 to your computer and use it in GitHub Desktop.
CSS Adding individual rounded corners – border-radius
#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;
}
@magemore
Copy link
Author

You can also choose which individual 4 corners are rounded or have a blanket rounding of every corner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment