CSS анимация для кнопок
1. Pulse animation
@-webkit-keyframes pulse{
0{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9}{-webkit-transform:scaleX(1);transform:scaleX(1)}
50{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9}{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}
to{-webkit-transform:scaleX(1);transform:scaleX(1)}
}
2. Rainbow animation
@keyframes rainbow {
0{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} {background: #E0006A;}
50{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} {background:#3959d9;}
100{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} {background:#E0006A;}
}
3. Circle animation
@keyframes circle {
0{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} {transform: rotate(0deg);}
100{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} {transform: rotate(360deg);}
}
4. Rotate animation
@keyframes rotating {
from {transform: rotate(0deg);}
to {transform: rotate(360deg);}
}
5. Flash animation
@keyframes flash {
0{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9}, 50{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9}, to {opacity: 1;}
25{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9}, 75{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} {opacity: 0;}
}
6. Flashing dots
#make_bet button { display:flex; align-items:center; background:#E0006A;
padding:10px 20px; border-radius:20px; border:none; box-shadow:none;
color:#fff; font-size:20px;}
#make_bet span {width:16px; height:16px; display:block; border-radius: 50{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9}; position:relative;}
#make_bet span::before {content: "";position: absolute;width: 100{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9};height: 100{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9};background-color: inherit;
border-radius: 50{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9};z-index: -1;animation: ripple 1.5s ease-out infinite; top: 0; left: 0;}
#make_bet span:nth-child(1) {background:#fff; transform: scale(0.9);}
#make_bet span:nth-child(1)::before {animation-delay: 0.2s;}
#make_bet span:nth-child(2) {background-color: #002f5e;transform: scale(0.9);}
#make_bet span:nth-child(2)::before {animation-delay: 0.4s;}
#make_bet span:nth-child(3) {background-color: #fff;transform: scale(0.8);}
#make_bet span:nth-child(3)::before {animation-delay: 0.6s;}
@keyframes ripple {
from {opacity: 1; transform: scale(0);}
to {opacity: 0; transform: scale(3);}
}
7. Border animation
.buttonsParent .button4:before {content: '';
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
position: absolute;top: -2px;left:-2px; background-size: 400{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9};z-index: -1; width: calc(100{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} + 4px);
height: calc(100{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} + 4px);animation: glowing 20s linear infinite;border-radius: 20px;
}
@keyframes glowing {
0{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} { background-position: 0 0; }
50{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} { background-position: 400{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} 0; }
100{9e7c37a3e427cc1a09b57a0d4b1ef3efe0db984258defcf01c5f2d21a33110d9} { background-position: 0 0; }
}