Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<link rel="match" href="outline-offset-inset-002-ref.html">
<meta name="assert" content="outline-offset: inset renders the same as a negative outline-offset on an element with border-radius">
<style>
div {
width: 100px;
height: 100px;
background: lightblue;
border-radius: 20px;
outline: 6px solid blue;
outline-offset: inset;
}
</style>
<div></div>