源代碼
點擊運行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>教程</title> <style> img { border-radius: 8px; } </style> </head> <body> <h2>圓角圖片</h2> <p>使用 border-radius 屬性來創建圓角圖片:</p> <img src="/images/logo.png" alt="Paris" width="400" height="300"> </body> </html>
運行結果