Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>CSS Borders and Box Decorations 4: mixed bevel + round + scoop + square corners, outset box-shadow, outset outline and inset outline</title>
<link rel="help" href="https://drafts.csswg.org/css-borders-4/#corner-shaping">
<link rel="match" href="corner-shape-bevel-round-scoop-square-outset-ref.html">
<meta name="fuzzy" content="maxDifference=0-244; totalPixels=0-1310">
<style>
body { margin: 0; background: white; }
.row { display: flex; gap: 60px; padding: 40px; }
.box {
width: 100px;
height: 100px;
box-sizing: border-box;
border-radius: 25px;
corner-shape: bevel round scoop square;
background: green;
}
.outset-shadow { box-shadow: 0 0 0 10px blue; }
.outset-outline { outline: 6px solid orange; outline-offset: 10px; }
.inset-outline { outline: 6px solid orange; outline-offset: -10px; }
</style>
</head>
<body>
<div class="row">
<div class="box outset-shadow"></div>
<div class="box outset-outline"></div>
<div class="box inset-outline"></div>
</div>
</body>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>CSS Borders and Box Decorations 4: mixed notch + squircle corners, outset box-shadow, outset outline and inset outline</title>
<link rel="help" href="https://drafts.csswg.org/css-borders-4/#corner-shaping">
<link rel="match" href="corner-shape-notch-squircle-outset-ref.html">
<meta name="fuzzy" content="maxDifference=0-155; totalPixels=0-1322">
<style>
body { margin: 0; background: white; }
.row { display: flex; gap: 60px; padding: 40px; }
.box {
width: 100px; height: 100px; box-sizing: border-box;
border-radius: 25px;
corner-shape: notch squircle notch squircle;
background: green;
}
.outset-shadow { box-shadow: 0 0 0 10px blue; }
.outset-outline { outline: 6px solid orange; outline-offset: 10px; }
.inset-outline { outline: 6px solid orange; outline-offset: -10px; }
</style>
</head>
<body>
<div class="row">
<div class="box outset-shadow"></div>
<div class="box outset-outline"></div>
<div class="box inset-outline"></div>
</div>
</body>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>CSS Borders and Box Decorations 4: mixed concave superellipse corners, outset box-shadow, outset outline and inset outline</title>
<link rel="help" href="https://drafts.csswg.org/css-borders-4/#corner-shaping">
<meta name="fuzzy" content="maxDifference=0-100; totalPixels=0-1196">
<link rel="match" href="corner-shape-superellipse-concave-outset-ref.html">
<meta name="fuzzy" content="maxDifference=0-199; totalPixels=0-1216">
<style>
body { margin: 0; background: white; }
.row { display: flex; gap: 60px; padding: 40px; }
.box {
width: 100px;
height: 100px;
box-sizing: border-box;
border-radius: 25px;
corner-shape: superellipse(-0.4) superellipse(-0.75) superellipse(-1.5) superellipse(-2.5);
background: green;
}
.outset-shadow { box-shadow: 0 0 0 10px blue; }
.outset-outline { outline: 6px solid orange; outline-offset: 10px; }
.inset-outline { outline: 6px solid orange; outline-offset: -10px; }
</style>
</head>
<body>
<div class="row">
<div class="box outset-shadow"></div>
<div class="box outset-outline"></div>
<div class="box inset-outline"></div>
</div>

<div class="blink-mask" style="position:absolute;left:54.5px;top:28.0px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:208.9px;top:20.0px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:28.0px;top:54.5px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:180.0px;top:48.9px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:112.7px;top:28.0px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:280.2px;top:20.0px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:138.0px;top:53.3px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:306.0px;top:45.8px;width:14px;height:14px;background:black"></div>
</body>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>CSS Borders and Box Decorations 4: mixed convex superellipse corners, outset box-shadow, outset outline and inset outline</title>
<link rel="help" href="https://drafts.csswg.org/css-borders-4/#corner-shaping">
<link rel="match" href="corner-shape-superellipse-convex-outset-ref.html">
<meta name="fuzzy" content="maxDifference=0-213; totalPixels=0-2195">
<style>
body { margin: 0; background: white; }
.row { display: flex; gap: 60px; padding: 40px; }
.box {
width: 100px;
height: 100px;
box-sizing: border-box;
border-radius: 25px;
corner-shape: superellipse(0.6) superellipse(1.4) superellipse(2.5) superellipse(4);
background: green;
}
.outset-shadow { box-shadow: 0 0 0 10px blue; }
.outset-outline { outline: 6px solid orange; outline-offset: 10px; }
.inset-outline { outline: 6px solid orange; outline-offset: -10px; }
</style>
</head>
<body>
<div class="row">
<div class="box outset-shadow"></div>
<div class="box outset-outline"></div>
<div class="box inset-outline"></div>
</div>

<div class="blink-mask" style="position:absolute;left:56.9px;top:28.0px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:216.0px;top:20.0px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:28.0px;top:56.9px;width:14px;height:14px;background:black"></div>
<div class="blink-mask" style="position:absolute;left:180.0px;top:56.0px;width:14px;height:14px;background:black"></div>
</body>
Loading