css3社会分享按钮

版权:原创 更新时间:1年以上
[该文章底部包含文件资源,可根据自己情况,决定是否下载资源使用,时间>金钱,如有需要,立即查看资源]

以下是 css3社会分享按钮 的示例演示效果:

当前平台(PC电脑)
  • 平台:

部分效果截图:

css3社会分享按钮

HTML代码(index.html):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>css3社会分享按钮</title>
<link href="css/zzsc.css" type="text/css"  rel="stylesheet"/>
</head>

<body>
<div id="content">
  <input type="checkbox" class="checkbox" id="share" checked>
  <label for="share" class="label entypo-export"></label>
  <div class="social">
    <ul>
      <li class="entypo-twitter"></li>
      <li class="entypo-facebook"></li>
      <li class="entypo-gplus"></li>
    </ul>
  </div>
</div>
</body>
</html>










JS代码(zzsc.js):

$(document).ready(function(){
	$('.menu a').hover(function(){
	$(this).stop().animate({
	opacity:1}
,200);
}
,function(){
	$(this).stop().animate({
	opacity:0.3}
,200);
}
);
}
);
	

CSS代码(zzsc.css):

@import url(http://weloveiconfonts.com/api/?family=entypo);/* entypo */
[class*="entypo-"]:before{font-family:'entypo',sans-serif;}
html{margin:0;padding:50px 0;background:#231733;}
#content{text-align:center;position:absolute;left:0;right:0;margin:auto;padding:120px 0 10px 0;width:200px;height:20px;}
input[type="checkbox"]{display:none;}
.checkbox:checked + .label{background:#7B7484;color:#231733;}
.checkbox:checked ~ .social{opacity:1;-webkit-transform:scale(1) translateY(-90px);-moz-transform:scale(1) translateY(-90px);-o-transform:scale(1) translateY(-90px);transform:scale(1) translateY(-90px);-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s;transition:.5s;}
.label{font-size:16px;cursor:pointer;margin:0;padding:5px 10px;border-radius:10%;color:#7B7484;}
.social{transform-origin:50% 0%;-webkit-transform:scale(0) translateY(-190px);-moz-transform:scale(0) translateY(-190px);-o-transform:scale(0) translateY(-190px);transform:scale(0) translateY(-190px);opacity:0;}
ul{position:relative;left:0;right:0;margin:auto;color:#fff;height:46px;width:180px;background:#3B5998;padding:0;list-style:none;}
ul li{font-size:20px;cursor:pointer;width:60px;margin:0;padding:12px 0;text-align:center;float:left;display:block;height:22px;}
ul li:hover{color:rgba(0,0,0,.5);}
ul:after{content:'';display:block;position:absolute;left:0;right:0;margin:35px auto;height:0;width:0;border-left:20px solid transparent;border-right:20px solid transparent;border-top:20px solid #3B5998;}
li[class*="twitter"]{background:#6CDFEA;padding:12px 0;}
li[class*="gplus"]{background:#E34429;padding:12px 0;}
附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
32.82 KB
Html CSS3特效
最新结算
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
HTML5实现CSS滤镜图片切换特效代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery+css3实现信封效果
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
我们力求给您提供有用的文章,再此基础上,会附加营收资源,不做任何广告,让平台可以更好发展 若您发现您的权利被侵害,或使用了您的版权,请发邮件联系 sunlifel@foxmail.com ggbig觉得 : 不提供源码的文章不是好文章
合作伙伴
联系我们
  • QQ:21499807
  • 邮箱:sunlifel@foxmail.com
  • QQ扫一扫加QQ
    QQ扫一扫
Copyright 2023-2024 ggbig.com·皖ICP备2023004211号-1
打赏文章