A
A
Acko2018-07-03 19:23:03
css
Acko, 2018-07-03 19:23:03

Animated page opening when clicking on a link?

Tell me the solution in css: clicking on the link animatedly-smoothly opens and displays the page from the bottom of the monitor window. It's great if there is a link to an example code for such an implementation, perhaps there are ready-made css libraries.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Timofeev, 2018-07-03
@webinar

click on link

this is js, not about css. Perhaps now there are ninjas who, through :active, will start to fence the bike, but it will be from the category of "this is how I can do it."
So you track the click event in js, hang the class on the block, and you can already make the animation in css using this class.

A
A person from Kazakhstan, 2018-07-03
@LenovoId

unless you can, hang it on body{opacity:0;} and change this value on page load...
you can't do it on css - css doesn't know browser events onload , onclick , etc....

A
Artemy, 2018-07-03
Kaydash @kayart

Ideally, all page content should be placed in a common block container. However, as mentioned earlier, you can also animate the body tag itself.
The most primitive implementation is here , but to complicate it, you will already need JS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question