Is it feasible to use CSS exclusively to design a carousel that switches the z-index of divs at set intervals (for example, every 5 seconds)? The divs would be arranged in layers on top of each other and as their z-index changes, they would move forwards or backwards accordingly, displaying only one at a time based on their div IDs. This cycle would then repeat. If this is achievable, how can I implement it? Appreciate your help!