U
U
Underdoggit2018-04-27 15:45:43
css
Underdoggit, 2018-04-27 15:45:43

Is it possible to set the height of the wrapper, the block of the entire section in rem?

There was such a question while I was learning to typeset, everyone always said that it’s better not to set the height of the block or wrapper for the entire section (like let the block repel from the content, and then set the paddings), since with adaptive there is a chance that everything falls, but recently on I saw in one foreign bootstrap video that the layout designer impudently prescribes the height of all blocks in rem (it doesn’t matter if it’s a wrapper for sex, a button, a picture wrapper, etc.), starting from the body which is written in pixels. Rem somehow more tolerant of the adaptive? Or is there some trick to prescribe rem to everything - blocks, fonts, indents, etc.
5ae31b3edccc7176529635.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis T, 2018-04-27
@Underdoggit

https://habr.com/post/280125/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question