Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<html><head>
<title>3d effect degradation at 1px with border radius</title>
<style>
div {
width: 50px;
height: 50px;
margin: 10px;
border-width: 1px;
border-style: solid;
-moz-border-radius: 20px;
}
</style>
<body>
<div style="border-color: #aa0000 #ff0000 #ff0000 #aa0000"></div>
<div style="border-color: #ff0000 #aa0000 #aa0000 #ff0000"></div>
</body>
</html>