超链接可以是button的样式

时间:2022-08-24 08:15:12
A.tag
{
	border-bottom: #3e6d8e 1px solid;
	padding-bottom: 2px;
	line-height: 2.4;
	background-color: #cfc;
	margin: 2px 2px 2px 0px;
	padding-left: 4px;
	padding-right: 4px;
	white-space: nowrap;
	color: #060;
	font-size: 8pt;
	border-right: #7f9fb6 1px solid;
	text-decoration: none;
	padding-top: 2px;
	-webkit-text-size-adjust: none;
	font-family: 微软雅黑;
}
A.tag:hover {
     background-color: #40aa53;color: #fff;
}


<a class="tag" href="www.baidu.com">百度</a><a class="tag" href="www.google.com.hk">google</a><a class="tag" href="#">me</a>


百度 google me

csdn不能自己定义特别负责的样式,所以需要自己copy下去自己才能看到。