User:Tark/Sandbox/Page.css
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
.wp-anim { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; align-content: stretch; } .wp-container { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; width: 200px; height: 200px; } .wp-container .images { position: relative; width: 150px; height: 150px; } .wp-container .images .wp { position: absolute; opacity: 0; width: 150px; height: 150px; animation: wpAnim 10s infinite; } .wp-container .images .wp:nth-child(1) { animation-delay: 0s; } .wp-container .images .wp:nth-child(2) { animation-delay: 2s; } .wp-container .images .wp:nth-child(3) { animation-delay: 4s; } .wp-container .images .wp:nth-child(4) { animation-delay: 6s; } .wp-container .images .wp:nth-child(5) { animation-delay: 8s; } @keyframes wpAnim { 0% { opacity: 1; } 20% { opacity: 1; } 20.1% { opacity: 0; } 100% { opacity: 0; } }