Z
Z
zwezew2018-01-30 09:53:46
css
zwezew, 2018-01-30 09:53:46

How to make a smooth adaptation of the site?

I saw a lot of sites, the blocks of which move smoothly during adaptation, etc. Tried to put transition all on html and body - no effect. How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima Pautov, 2018-01-30
@zwezew

Such rebuilds usually happen when using such a js lib like this . You can't move blocks smoothly with css. After all, the elements do not change their position, but simply fall under each other during adaptation. transition animates css properties, not the flow of elements on the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question