css3元素向上移动

.slcon{
    margin:auto;
    font-size: 2em;
    padding:60% 0;
    display: table;
    color:#4c4c4c;
    line-height: 2em;

    animation:myfirst 3s;
    -webkit-animation:myfirst 3s;
    animation-fill-mode: forwards;
}

@-webkit-keyframes myfirst /* Safari and Chrome */
{
    100%   {padding:20% 0;}
    /*25%  {padding:30% 0;}
    50%  {padding:40% 0;}
    75%  {padding:50% 0;}
    100% {padding:60% 0;}*/
}

上一篇:《Absolute Java 中文版》| 每日读本书


下一篇:Powershell管理系列(三)2012 AD域用户UPN名称还原