【图形】CSS绘制吃豆人
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <base target="_blank" /> <title>三十客 - 【图形】CSS绘制吃豆人</title> <style> #pacman { width: 0px; height: 0px; border-right: 100px solid transparent; border-top: 100px solid red; border-left: 100px solid red; border-bottom: 100px solid red; border-top-left-radius: 100px; border-top-right-radius: 100px; border-bottom-left-radius: 100px; border-bottom-right-radius: 100px; margin: 20px 0 0 20px; } </style> </head> <body> <div id="pacman"></div> </body> </html>