欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

html圆角按钮的实现

程序员文章站 2023-12-12 22:18:16
1、使用css3的boborder-radius 属性 border:2px solid; border-radius:25px; 2、使用图片作为标签背景图 a{ displ...

1、使用css3的boborder-radius 属性

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

2、使用图片作为标签背景图

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

上一篇:

下一篇: