热门关键字:
jquery > jquery插件 > html5 > css3+Logo图标实现超酷的微博关注按钮

css3+Logo图标实现超酷的微博关注按钮

7851
所属分类:html5
发布时间:2013/8/6 21:36:54
下载量:934
评论数:0
转载请自觉注明原文:http://www.jq-school.com/Detail.aspx?id=298

此作品是一款非常实用的作品,纯css3样式代码实现,没有任何的jquery代码参与,配合微博的小logo图标实现超酷的微博关注按钮,直接可以用在任何网站上,如果想看到最佳效果的话请使用支持css3样式的主流浏览器访问。。。


代码代码如下:

a {
	outline:none;
	blr:expression(this.onFocus=this.blur());
	text-decoration:none;
}
a.wb_sina {
	float:right;
	margin-top:23px;
	margin-right:15px;
	display:inline-block;
	padding:4px 10px;
	border-radius:3px;
	background-color:#e55345;
	background-image:-moz-linear-gradient(top,#e96249,#e03c40);
	background-image:-ms-linear-gradient(top,#e96249,#e03c40);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#e96249),to(#e03c40));
	background-image:-webkit-linear-gradient(top,#e96249,#e03c40);
	background-image:-o-linear-gradient(top,#e96249,#e03c40);
	background-image:linear-gradient(top,#e96249,#e03c40);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e96249',endColorstr='#e03c40',GradientType=0);
	background-repeat:repeat-x;
	text-shadow:0 -1px 0 rgba(0,0,0,.5);
	border:1px solid #cf2b28;
	color:#fff!important;
	box-shadow:0 1px 0 rgba(255,255,255,.2) inset,0 1px 0 rgba(0,0,0,.2);
}
a.wb_sina:hover {
	background-image:-moz-linear-gradient(top,#e03c40,#e96249);
	background-image:-ms-linear-gradient(top,#e03c40,#e96249);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#e03c40),to(#e96249));
	background-image:-webkit-linear-gradient(top,#e03c40,#e96249);
	background-image:-o-linear-gradient(top,#e03c40,#e96249);
	background-image:linear-gradient(top,#e03c40,#e96249);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e03c40',endColorstr='#e96249',GradientType=0);
}
a.wb_sina span {
	display:inline-block;
	vertical-align:-5px;
	margin-right:7px;
	height:20px;
	width:24px;
	background:url(weibo.png) no-repeat;
}
a.wb_tencent {
	float:right;
	margin-top:23px;
	margin-right:30px;
	display:inline-block;
	padding:4px 10px;
	border-radius:3px;
	background-color:#0e7fcc;
	background-image:-moz-linear-gradient(top,#1288d4,#0771c1);
	background-image:-ms-linear-gradient(top,#1288d4,#0771c1);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#1288d4),to(#0771c1));
	background-image:-webkit-linear-gradient(top,#1288d4,#0771c1);
	background-image:-o-linear-gradient(top,#1288d4,#0771c1);
	background-image:linear-gradient(top,#1288d4,#0771c1);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1288d4',endColorstr='#0771c1',GradientType=0);
	background-repeat:repeat-x;
	text-shadow:0 -1px 0 rgba(0,0,0,.5);
	border:1px solid #0D6EB8;
	color:#fff!important;
	box-shadow:0 1px 0 rgba(255,255,255,.2) inset,0 1px 0 rgba(0,0,0,.2);
}
a.wb_tencent:hover {
	background-color:#0e7fcc;
	background-image:-moz-linear-gradient(top,#0771c1,#1288d4);
	background-image:-ms-linear-gradient(top,#0771c1,#1288d4);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#0771c1),to(#1288d4));
	background-image:-webkit-linear-gradient(top,#0771c1,#1288d4);
	background-image:-o-linear-gradient(top,#0771c1,#1288d4);
	background-image:linear-gradient(top,#0771c1,#1288d4);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0771c1',endColorstr='#1288d4',GradientType=0);
}
a.wb_tencent span {
	display:inline-block;
	vertical-align:-5px;
	margin-right:7px;
	height:20px;
	width:24px;
	background:url(weibo.png) no-repeat 0 -20px;
}

效果如下:

css3+Logo图标实现超酷的微博关注按钮






如果您觉得本作品对您的学习有所帮助:支付鼓励



关键字:css3 实用特效 button 3D特效
  • css3+Logo图标实现超酷的微博关注按钮如果你喜欢学院的资源就下载吧,亲,谢谢!
  • css3+Logo图标实现超酷的微博关注按钮
  • css3+Logo图标实现超酷的微博关注按钮
  • 提示:如果网络问题无法下载,请多尝试几次,与 网站管理员联系 或 本站留言 !

声明: 本站内容均为网友原创或整理于互联网,版权归作品最初创作人,转载请注明(出处)原文链接,转载前请邮件至磐temdy@qq.com,一旦发现造成侵权行为,后果自负。。

友荐云推荐