Skip to content

Instantly share code, notes, and snippets.

@jorbsd
Created June 15, 2010 17:53
Show Gist options
  • Save jorbsd/439431 to your computer and use it in GitHub Desktop.
Save jorbsd/439431 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Test of border radius</title>
<style>
div.testsoliddiv {
display: table-cell;
vertical-align: middle;
background-color: #EEEEEE;
color: #000000;
border: 10px solid #000000;
height: 50px;
text-align: center;
-webkit-border-radius: 15px;
}
div.testdoublediv {
display: table-cell;
vertical-align: middle;
background-color: #EEEEEE;
color: #000000;
border: 10px double #000000;
height: 50px;
text-align: center;
-webkit-border-radius: 15px;
}
</style>
</head>
<body>
<div class="testsoliddiv">
<p>&nbsp;</p>
&nbsp;Hello, World! (solid border)&nbsp;
<p>&nbsp;</p>
</div>
<p />
<div class="testdoublediv">
<p>&nbsp;</p>
&nbsp;Hello, World! (double border)&nbsp;
<p>&nbsp;</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment