N
N
Name2017-09-05 11:25:25
Animation
Name, 2017-09-05 11:25:25

Prevent temporary page expansion on block appearance effect (anijs)?

When a block appears, the effect is an exit on the right, the page expands for the duration of this exit.
On a mobile device, this looks very strange - while the block is moving out, the page is half the screen.
If the block moves to the left, then everything is fine, the page does not expand.
Is there any way to fix this problem so that nothing happens to the page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Name, 2017-09-05
@User782

can be useful to someone, you need to add body body
overflow-x: hidden;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question