-
Notifications
You must be signed in to change notification settings - Fork 54
/
radial-shape-farthest-side-1-ref.html
9 lines (9 loc) · 1.29 KB
/
radial-shape-farthest-side-1-ref.html
1
2
3
4
5
6
7
8
9
<style>div { position:absolute; width:200px; height:200px; }</style>
<div style="background: radial-gradient(circle farthest-side at 50px 80px, white, black 150px); top:10px; left:10px;"></div>
<div style="background: radial-gradient(farthest-side circle at 150px 80px, white, black 150px); top:10px; left:220px;"></div>
<div style="background: radial-gradient(circle farthest-side at 80px 50px, white, black 150px); top:220px; left:10px;"></div>
<div style="background: radial-gradient(farthest-side circle at 80px 150px, white, black 150px); top:220px; left:220px;"></div>
<div style="background: radial-gradient(circle farthest-side at 80px 80px, white, black 120px); -moz-transform-origin:0 0; -moz-transform:scale(1.0, 0.5); top:430px; left:10px;"></div>
<div style="background: radial-gradient(farthest-side circle at 120px 120px, white, black 120px); -moz-transform-origin:0 0; -moz-transform:scale(1.0, 0.5); top:430px; left:220px;"></div>
<div style="background: radial-gradient(circle farthest-side at 80px 80px, white, black 120px); -moz-transform-origin:0 0; -moz-transform:scale(0.5, 1.0); top:640px; left:10px;"></div>
<div style="background: radial-gradient(farthest-side circle at 120px 120px, white, black 120px); -moz-transform-origin:0 0; -moz-transform:scale(0.5, 1.0); top:640px; left:220px;"></div>