zoukankan      html  css  js  c++  java
  • 动画效果 忽隐忽现

       .jisuanButton_class{

            margin-top: 34px;

            margin-left: 80px;

            margin-right: 40px;

            animation:jisuanbutton 1500ms infinite;

            -moz-animation:jisuanbutton 1500ms infinite; /* Firefox */

            -webkit-animation:jisuanbutton 1500ms infinite; /* Safari and Chrome */

            -o-animation:jisuanbutton 1500ms infinite; /* Opera */

       }

        @keyframes jisuanbutton

        {

            0%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

            50% {filter:alpha(Opacity=80);-moz-opacity:0.8;opacity: 0.8;}

            100%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

        }

        @-moz-keyframes jisuanbutton /* Firefox */

        {

            0%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

            50% {filter:alpha(Opacity=80);-moz-opacity:0.8;opacity: 0.8;}

            100%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

        }

        @-webkit-keyframes jisuanbutton /* Safari and Chrome */

        {

            0%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

            50% {filter:alpha(Opacity=80);-moz-opacity:0.8;opacity: 0.8;}

            100%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

        }

        @-o-keyframes jisuanbutton /* Opera */

        {

              0%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

           50% {filter:alpha(Opacity=80);-moz-opacity:0.8;opacity: 0.8;}

            100%{filter:alpha(Opacity=100);-moz-opacity:1;opacity: 1;}

    }}

  • 相关阅读:
    onkeyup事件
    asp.net学习视频资料地址链接
    企业站新闻信息的后台功能开发心得(1)
    js实现切换导航
    jquery实现上拉加载更多
    css设置input框没有边框,选中时取消背景色
    使用js修改url地址参数
    ubantu 修改hosts文件
    git的使用
    ubantu 16.04 菜单栏的位置变换
  • 原文地址:https://www.cnblogs.com/kttbk/p/8108698.html
Copyright © 2011-2022 走看看