.bloc-content { padding: 10vh; border-radius: 10px; background-image: url('/images/codebackground.png'); background-position: 50% 50%; background-repeat: no-repeat; background-size: contain; animation: zoomInOut 4s ease-in-out infinite; z-index: 9000; } .zoomInOutCadeau { animation: zoomInOut 1s ease-in-out infinite; } .zoomInOutJeuConcours { animation: zoomInOut 1.1s ease-in-out infinite; } .rotatingImage { animation: 1s ease-in-out infinite alternate rotation; } .rotatingSlow { animation: 4s ease-in-out infinite alternate rotation; } @keyframes zoomInOut { 0% { transform: scale(1, 1); } 50% { transform: scale(1.05, 1.05); } to { transform: scale(1, 1); } } @keyframes rotation { 0% { transform: rotate(2deg); } 50% { transform: rotate(-2deg); } to { transform: rotate(2deg); } } @keyframes blinking { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0; } } .zoom-in-out-box { animation: zoom-in-zoom-out 1s ease infinite; } .imageWrapper { display: block; }