Skip to content

Instantly share code, notes, and snippets.

@carlosrojaso
Created May 12, 2014 07:37
Show Gist options
  • Save carlosrojaso/84a002c0667ae2f2a9de to your computer and use it in GitHub Desktop.
Save carlosrojaso/84a002c0667ae2f2a9de to your computer and use it in GitHub Desktop.
CSS3 The border-radius
<!DOCTYPE html>
<html>
<head>
<style>
div
{
border:2px solid #a1a1a1;
padding:10px 40px;
background:#dddddd;
width:300px;
border-radius:25px;
}
</style>
</head>
<body>
<div>The border-radius property allows you to add rounded corners to elements.</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment