calc-background-image-gradient-1-ref.html (418B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <title>CSS Reference: Test for calc() on background-image gradients</title> 5 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 6 <style type="text/css"> 7 8 p { 9 height: 50px; width: 200px; 10 border: thin solid; 11 } 12 13 #one { background-image: radial-gradient(circle farthest-side at 150px 20px, red, green); } 14 15 </style> 16 </head> 17 <body> 18 <p id="one"></p> 19 </body> 20 </html>