Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Borders Test: border-shape 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-ellipse-ref.html">
<meta name="fuzzy" content="maxDifference=0-170;totalPixels=0-5000">
<style>
body {
margin: 0;
}
.container {
padding: 40px;
}
.test1 {
margin-left: 160px;
margin-top: 200px;
width: 20px;
height: 100px;
border: 5px solid blue;
outline: 120px solid green;
border-shape: ellipse(50% 50% at 50% 50%) border-box ellipse(50% 50% at 50% 50%) padding-box;
}
.test2 {
margin: -100px 549px;
width: 2px;
height: 100px;
border: 1px solid blue;
outline: 120px solid green;
border-shape: ellipse(50% 50% at 50% 50%) border-box ellipse(50% 50% at 50% 50%) padding-box;
}
</style>
<div class="container">
<div class="test1"></div>
<div class="test2"></div>
</div>