html圆角按钮的实现

1、使用css3的boborder-radius 属性

border:2px solid;
border-radius:25px;

2、使用图片作为<a></a>标签背景图

a{
  			display:inline-block;
  			line-height:40px;
  			text-decoration:none;
  			background:url("btn-fit.png");
  			padding-left:20px;
}

猜你喜欢

转载自blog.csdn.net/w3624270/article/details/81478862