【图形】CSS绘制椭圆形
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <base target="_blank" /> <title>三十客 - 【图形】CSS绘制椭圆形</title> <style> #oval { width: 240px; height: 140px; background: red; -moz-border-radius: 120px / 70px; -webkit-border-radius: 120px / 70px; border-radius: 120px / 70px; } </style> </head> <body> <div id="oval"></div> </body> </html>