.kenimage {
    position: relative;
    overflow: hidden;
}

.kenimage:hover::before {
      animation: kenburns 15s infinite linear;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
        transform-origin: center center;
    }
    50% {
        transform: scale(1.1) translate(0, 0);
        transform-origin: center center;
    }
    100% {
        transform: scale(1) translate(0, 0);
        transform-origin: center center;
    }
}