CSS3触发式进度条按钮

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

以下是 CSS3触发式进度条按钮 的示例演示效果:

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

部分效果截图:

CSS3触发式进度条按钮

HTML代码(index.html):

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="gb2312">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS3����ʽ��������ť</title>
    <link href='http://fonts.googleapis.com/css?family=Bowlby+One+SC' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" title="no title">

</head>

<body>
    <div class="ph-post1-wrapper">
        <h1>Summer Icon Pack</h1>
        <a class="button" data-title="Free download" href="#">
            <span><span>Free download</span></span>
        </a>
        <a class="button button1" data-title="see on dribbble" href="#">
            <span><span>See on Dribbble</span></span>
        </a>
    </div>
</body>
</html>









CSS代码(screen.css):

/*-----------------------RESET----------------------------------*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline;}
html{line-height:1;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block;}
/*------------------------------------------------------------------*/
body{padding-top:2.8em}
.ph-post1-wrapper{width:100%;margin:0 auto;max-width:15.25em;min-width:10em;font:2em/1.4 "Bowlby One SC",Arial,sans-serif;font-weight:400;}
.ph-post1-wrapper img{max-width:100%;height:auto;}
.ph-post1-wrapper a{text-decoration:none;}
.ph-post1-wrapper h1{text-align:center;margin-bottom:1.4em;color:#4186b2;}
.ph-post1-wrapper .button{display:block;position:relative;height:3.4em;width:10em;margin:.7em auto;overflow:hidden;}
.ph-post1-wrapper .button > span{display:block;position:absolute;overflow:hidden;left:0;top:0;width:0%;height:100%;-webkit-transition:1s ease-in-out;-moz-transition:1s ease-in-out;-o-transition:1s ease-in-out;transition:1s ease-in-out;}
.ph-post1-wrapper .button:after,.ph-post1-wrapper .button > span > span{display:block;text-align:center;border-radius:0.625em;padding:1em 0;}
.ph-post1-wrapper .button:after{content:attr(data-title);width:100%;background:#4186b2;color:#67d6c1;}
.ph-post1-wrapper .button > span > span{width:10em;background:#67d6c1;color:#4186b2;}
.ph-post1-wrapper .button:hover > span{width:100%;}
.ph-post1-wrapper .button1 > span{height:0%;width:100%;}
.ph-post1-wrapper .button1:hover > span{height:100%;}
.ph-post1-wrapper .button1:after{background:#eb6e61;color:#2f3c4b;}
.ph-post1-wrapper .button1 > span > span{background:#2f3c4b;color:#eb6e61;}
footer{text-align:center;font-size:.5em;font-family:Helvetica,Arial,sans-serif;}
附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
1.82 KB
Html CSS3特效
最新结算
HTML5 3D效果网页视频背景代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
软件概要设计说明书Word下载
类型: .docx 金额: CNY 0.38¥ 状态: 待结算 详细>
软件概要设计说明书Word下载
类型: .docx 金额: CNY 3.02¥ 状态: 待结算 详细>
.net c#获取声卡信息,声卡数量
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
.net c#获取声卡信息,声卡数量
类型: .rar 金额: CNY 3.87¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 3.87¥ 状态: 待结算 详细>
.net c#获取电脑显示适配器信息
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 3.87¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
各执行环节公正透明,帮助企业完成从赛制策划、活动推广、评委评选到版权转让等系列工作,专业、高效、值得信赖。平均每场赛事可征集到数百至数千组源码作品
合作伙伴
联系我们
  • 邮箱:raozetian@hotmail.com
Copyright 2023-2024 eeigg.com·皖ICP备2024038726号-1
打赏文章