Skip to content

Instantly share code, notes, and snippets.

@apphp-snippets
Created May 22, 2012 17:02
Show Gist options
  • Select an option

  • Save apphp-snippets/2770287 to your computer and use it in GitHub Desktop.

Select an option

Save apphp-snippets/2770287 to your computer and use it in GitHub Desktop.
You may add rounded corners to your CSS3-based elements, like a border or button. You can change the radius to increase or decrease the rounding of the corners. This is a styles definition rounding of each corner, it lets you individually round each of th
<style type="text/css">
/* Source: http://www.apphp.com/index.php?snippet=php-get-remote-ip-address */
.round{
border:1px solid #c1c13a;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px; /* future proofing */
-khtml-border-radius: 10px; /* for old Konqueror browsers */
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment