Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<title>CSS Borders: border-shape with inset box-shadow (blur > 0)</title>
<link rel="match" href="border-shape-shadow-inset-blur-ref.html">
<meta name="fuzzy" content="maxDifference=0-2;totalPixels=0-150">
<meta name="assert" content="inset box-shadow blur on a circle border-shape should exactly match the blur on a border-radius circle.">
<style>
body {
margin: 0;
padding: 50px;
}
#target {
width: 100px;
height: 100px;
background: green;
border-shape: circle(50px at 50% 50%);
box-shadow: inset 0 0 10px 0 black;
}
</style>
<body>
<div id="target"></div>
</body>
</html>