<style>div { position:absolute; width:200px; height:200px; }</style> <div style="background: radial-gradient(circle closest-corner at 60px 80px, white, black); top:10px; left:10px;"></div> <div style="background: radial-gradient(closest-corner circle at 140px 80px, white, black); top:10px; left:220px;"></div> <div style="background: radial-gradient(circle closest-corner at 80px 60px, white, black); top:220px; left:10px;"></div> <div style="background: radial-gradient(closest-corner circle at 80px 140px, white, black); top:220px; left:220px;"></div> <div style="background: radial-gradient(ellipse closest-corner at 60px 80px, white, black 60px); top:430px; left:10px;"></div> <div style="background: radial-gradient(closest-corner ellipse at 140px 80px, white, black 60px); top:430px; left:220px;"></div> <div style="background: radial-gradient(closest-corner at 80px 60px, white, black 80px); top:640px; left:10px;"></div> <div style="background: radial-gradient(closest-corner at 80px 140px, white, black 80px); top:640px; left:220px;"></div>