I'm planning a webpage in Wordpress with navigation arrows (buttons) on top, right, bottom and left of the page screen. With clicking on one of the buttons you get to the next page – but with a page transition depending on the button you click on.
in short: user clicks on "right arrow" = next page slides in from the right // user clicks on "down arrow" = next page slides in from bottom ...
As the pages can appear in all the directions, the button I click on should give the indication in which direction the page has to slide. How can I achieve that via css?
Or does it work the other way round? The current page has to slide out right, left, top, bottom on click?
I found something like this: https://tympanus.net/codrops/2013/05/07/a-collection-of-page-transitions/ But in this case all contents are in one html file. That's not a real page-transition... Thank you