
<!DOCTYPE html> <html lang="zh-Hans"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>圆角按钮示例</title> <style> .rounded-button { width: 100px; height: 50px; background-color: red; border-radius: 15px; /* 设置圆角半径 */ border: none; color: white; text-align: center; line-height: 50px; cursor: pointer; } </style> </head> <body> <button class="rounded-button">按钮</button> </body> </html>
浙公网安备 33010602011771号