/*图标抖动*/ @keyframes jitter { from, to { -webkit-transform: scale(1, 1); transform: scale(1, 1); } 25% { -webkit-transform: scale(0.9, 1.1); transform: scale(0.9, 1.1); } 50% { -webkit-transform: scale(1.1, 0.9); transform: scale(1.1, 0.9); } 75% { -webkit-transform: scale(0.95, 1.05); transform: scale(0.95, 1.05); } } @-webkit-keyframes jitter { from, to { -webkit-transform: scale(1, 1); transform: scale(1, 1); } 25% { -webkit-transform: scale(0.9, 1.1); transform: scale(0.9, 1.1); } 50% { -webkit-transform: scale(1.1, 0.9); transform: scale(1.1, 0.9); } 75% { -webkit-transform: scale(0.95, 1.05); transform: scale(0.95, 1.05); } } /*水平线滑动*/ @keyframes line{ from { width: 0%; } to { width: 100%; } } /*鼠标经过按钮扩散*/ @-webkit-keyframes hvr-ripple-out { 100% { top: -12px; right: -12px; bottom: -12px; left: -12px; opacity: 0; } } @keyframes hvr-ripple-out { 100% { top: -12px; right: -12px; bottom: -12px; left: -12px; opacity: 0; } } a.hvr-ripple-out { display: block; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; position: relative; border-radius:50px; } a.hvr-ripple-out::before { content: ""; position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; animation-duration: 1s; border-width: 1px; border-style: solid; border-color: #eee; border-image: initial; border-radius:50px; } a.hvr-ripple-out:hover::before{ animation-name: hvr-ripple-out; } @keyframes hvr-ripple-out1 { 100% { top: -12px; right: -12px; bottom: -12px; left: -12px; opacity: 0; } } a.hvr-ripple-out1 { display: block; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; position: relative; border-radius:50px; } a.hvr-ripple-out1::before { content: ""; position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; animation-duration: 1s; border-width: 6px; border-style: solid; border-color: #ccc; border-image: initial; border-radius:50px; } a.hvr-ripple-out1:hover::before{ animation-name: hvr-ripple-out1; }