background-image-gradient-1.html (309B)
1 <!DOCTYPE HTML> 2 <title>Test for calc() on background-image gradients</title> 3 <style> 4 5 p { 6 height: 50px; width: 200px; 7 border: thin solid; 8 } 9 10 #one { background-image: radial-gradient(circle farthest-side at calc(50px + 50%) calc(100% - 30px), red, green); } 11 12 </style> 13 <p id="one"></p> 14 <p id="two"></p>