I'm designing a website on Wordpress that will feature navigation arrows positioned at the top, right, bottom, and left of the screen. When a user clicks on one of these buttons, they will transition to the next page with an animation relevant to the direction of the button clicked.
In summary: Clicking on the "right arrow" will cause the next page to slide in from the right // Clicking on the "down arrow" will make the next page slide in from the bottom ...
Since pages can appear in various directions, it's important for the button clicked to indicate the direction the page should slide. How can I achieve this using CSS?
Or perhaps the current page should slide out to the right, left, top, or bottom upon clicking?
I came across something similar here: https://tympanus.net/codrops/2013/05/07/a-collection-of-page-transitions/ However, in this example, all content is within one HTML file, so it doesn't truly capture the essence of page transitions... Thank you