Skip to content

Instantly share code, notes, and snippets.

@muncman
Created February 12, 2010 19:12
Show Gist options
  • Save muncman/302872 to your computer and use it in GitHub Desktop.
Save muncman/302872 to your computer and use it in GitHub Desktop.
/* R O U N D E D C O R N E R S */
/* TODO: test differing KHTML formats across platforms. */
/* TODO: get version specifics for Opera options. */
.round_all {
-opera-border-radius: 5px;
-o-border-radius: 5px;
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.round_top {
-opera-border-top-left-radius: 5px;
-opera-border-top-right-radius: 5px;
-o-border-top-left-radius: 5px;
-o-border-top-right-radius: 5px;
-khtml-border-top-left-radius: 5px;
-khtml-border-top-right-radius: 5px;
-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 {
-opera-border-bottom-left-radius: 5px;
-opera-border-bottom-right-radius: 5px;
-o-border-bottom-left-radius: 5px;
-o-border-bottom-right-radius: 5px;
-khtml-border-bottom-left-radius: 5px;
-khtml-border-bottom-right-radius: 5px;
-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 {
-opera-border-top-left-radius: 5px;
-opera-border-bottom-left-radius: 5px;
-o-border-top-left-radius: 5px;
-o-border-bottom-left-radius: 5px;
-khtml-border-top-left-radius: 5px;
-khtml-border-bottom-left-radius: 5px;
-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 {
-opera-border-top-right-radius: 5px;
-opera-border-bottom-right-radius: 5px;
-o-border-top-right-radius: 5px;
-o-border-bottom-right-radius: 5px;
-khtml-border-top-right-radius: 5px;
-khtml-border-bottom-right-radius: 5px;
-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 {
-opera-border-top-left-radius: 5px;
-o-border-top-left-radius: 5px;
-khtml-border-top-left-radius: 5px;
-khtml-border-radius-topleft: 5px;
-moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
border-top-left-radius: 5px;
}
.round_top_right {
-opera-border-top-right-radius: 5px;
-o-border-top-right-radius: 5px;
-khtml-border-top-right-radius: 5px;
-khtml-border-radius-topright: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
border-top-right-radius: 5px;
}
.round_bottom_left {
-opera-border-bottom-left-radius: 5px;
-o-border-bottom-left-radius: 5px;
-khtml-border-bottom-left-radius: 5px;
-khtml-border-radius-bottomleft: 5px;
-moz-border-radius-bottomleft: 5px;
-webkit-border-bottom-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.round_bottom_right {
-opera-border-bottom-right-radius: 5px;
-o-border-bottom-right-radius: 5px;
-khtml-border-bottom-right-radius: 5px;
-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