A
A
Andrey Kuzmin2018-02-03 18:06:35
css
Andrey Kuzmin, 2018-02-03 18:06:35

Question about adaptive layout?

Hello everyone, don't throw stones at a stupid question. Yesterday I started to master adaptive layout and today I decided to make my old static page adaptive. In principle, it’s not clear to me how to make up the internal blocks, i.e. I make the main blocks rubber, but what about the internal ones? My old layouts are stuffed with position:absolute - what should I replace them with? Set all indents and sizes also in %? Or use flex?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2018-02-03
@Stalker_RED

Read about css grid .
And yes, you will have to use position: absolute less often (it is not very often necessary at all), and think about how to set indents.

M
Maxim Timofeev, 2018-02-03
@webinar

My old layouts are stuffed with position:absolute - what should I replace them with?

Why replace them? It is necessary to replace px with % and where it is impossible - use media queries.
also reasonable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question