Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html reftest-zoom="2">
<meta charset="utf-8">
<style>
body {
margin: 0;
}
#box {
width: 200px;
border: 80px solid transparent;
padding: 20px;
background: linear-gradient(red, blue);
background-origin: border-box;
}
</style>
<div id="box"></div>