把html中按钮设置为圆形很简单,只需要将按钮的border-radius属性设置50%,同时将宽和高设置相同即可并去除边框线。具体实现代码如下:
<!doctype html>
<meta charset="UTF-8">
<title>Document</title>
<input type="button" value="按钮" style="width: 50px; height: 50px; border-radius: 50%;border: none">