Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Borders Test: double outline with tricky ellipses</title>
<link rel="help" href="https://drafts.csswg.org/css-ui/#outline">
<link rel="match" href="border-shape-outline-with-border-double-ellipse-ref.html">
<meta name="fuzzy" content="maxDifference=0-150;totalPixels=0-2000">
<style>
body {
margin: 0;
}
.container {
padding: 40px;
}
.test {
margin: 150px auto;
width: 40px;
height: 100px;
border: 5px solid green;
box-shadow: 0 0 0 90px red;
border-shape: ellipse(50% 50% at 50% 50%) border-box ellipse(50% 50% at 50% 50%) padding-box;
outline: 30px double blue;
outline-offset: 15px;
}
</style>
<div class="container">
<div class="test"></div>
</div>