Automatic update from web-platform-tests layout: Reverse vertical orientation of gradients using corner directions. Signed-off-by: Josh Matthews <josh@joshmatthews.net> -- wpt-commits: 4424f5958b96b8efe206319512c3226bcf7cef51 wpt-pr: 53731
29 lines
586 B
HTML
29 lines
586 B
HTML
<!doctype html>
|
|
<meta charset="utf-8">
|
|
<title>Linear gradients for non-square elements reference</title>
|
|
<style>
|
|
.a,
|
|
.b,
|
|
.c,
|
|
.d {
|
|
width: 200px;
|
|
height: 100px;
|
|
}
|
|
.a {
|
|
background: linear-gradient(-206.56505118deg, black 50%, lightgray 50%);
|
|
}
|
|
.b {
|
|
background: linear-gradient(206.56505118deg, black 50%, lightgray 50%);
|
|
}
|
|
.c {
|
|
background: linear-gradient(-26.56505118deg, black 50%, lightgray 50%);
|
|
}
|
|
.d {
|
|
background: linear-gradient(26.56505118deg, black 50%, lightgray 50%);
|
|
}
|
|
</style>
|
|
<div class="a"></div>
|
|
<div class="b"></div>
|
|
<div class="c"></div>
|
|
<div class="d"></div>
|