UNPKG

electrode-houseparty-example-component

Version:
31 lines (30 loc) 621 B
@keyframes shake { from { transform: scale3d(1, 1, 1); } 10%, 20% { transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); } 30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); } 40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); } to { transform: scale3d(1, 1, 1); } } .join { animation-name: shake; animation-duration: 1s; animation-fill-mode: both; } .friend { border-radius: 50%; background-color: #efefef; background-repeat: no-repeat; background-position: center; background-size: 60%; float: right; }