Created
May 12, 2014 07:37
-
-
Save carlosrojaso/84a002c0667ae2f2a9de to your computer and use it in GitHub Desktop.
CSS3 The border-radius
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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