Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Borders Test: outline with outline-offset follows border-shape</title>
<link rel="help" href="https://drafts.csswg.org/css-ui/#outline">
<link rel="match" href="border-shape-outline-offset-ref.tentative.html">
<meta name="fuzzy" content="maxDifference=0-100;totalPixels=0-3000">
<style>
body {
margin: 0;
}
.container {
padding: 30px;
}
.target {
width: 100px;
height: 100px;
background: lightblue;
border-shape: circle(50px at 50px 50px);
outline: 4px solid green;
outline-offset: 6px;
}
</style>
<div class="container">
<div class="target"></div>
</div>