Skip to content

Instantly share code, notes, and snippets.

@thrashr888
Created December 23, 2009 21:09
Show Gist options
  • Save thrashr888/262801 to your computer and use it in GitHub Desktop.
Save thrashr888/262801 to your computer and use it in GitHub Desktop.
/* `Rounded Corners
----------------------------------------------------------------------------------------------------*/
.round_all {
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.round_top {
-khtml-border-radius-topleft: 5px;
-khtml-border-radius-topright: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.round_bottom {
-khtml-border-radius-bottomleft: 5px;
-khtml-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.round_left {
-khtml-border-radius-topleft: 5px;
-khtml-border-radius-bottomleft: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-bottomleft: 5px;
-webkit-border-top-left-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.round_right {
-khtml-border-radius-topright: 5px;
-khtml-border-radius-bottomright: 5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.round_top_left {
-khtml-border-radius-topleft: 5px;
-moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
border-top-left-radius: 5px;
}
.round_top_right {
-khtml-border-radius-topright: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
border-top-right-radius: 5px;
}
.round_bottom_left {
-khtml-border-radius-bottomleft: 5px;
-moz-border-radius-bottomleft: 5px;
-webkit-border-bottom-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.round_bottom_right {
-khtml-border-radius-bottomright: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-right-radius: 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment