blob: 73083b095d6fe0df2f14bae37b06228f7bad3faa [file] [log] [blame] [edit]
<!doctype html>
<title>radial-gradient() with container relative unit &lt;position> (vertical)</title>
<link rel="help" href="https://drafts.csswg.org/css-images/#radial-gradient-syntax">
<link rel="help" href="https://drafts.csswg.org/css-conditional-5/#container-lengths">
<link rel="match" href="radial-gradient-container-relative-units-ref.html">
<style>
#container { container-type: size; width: 100px; height: 100px; }
#inner {
width: 100%;
height: 100%;
background-image: radial-gradient(50px 50px ellipse at 50px 50cqh, green, blue);
}
</style>
<div id="container">
<div id="inner"></div>
</div>