#boxB {
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
transition: box-shadow .3s ease-in-out;
animation: spin 3s infinite linear;
}
@keyframes spin {
50% {
transform: scale(1.04);
}
100% {
transform: none;
}
}
#boxB {
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
transition: box-shadow .3s ease-in-out;
animation: spin 3s infinite linear;
}
@keyframes spin {
50% {
transform: scale(1.04);
}
100% {
transform: none;
}
}