V
V
Valera Programmer2015-03-11 12:59:24
css
Valera Programmer, 2015-03-11 12:59:24

What to set indents in the mobile layout of the site?

The width is set in %, but I can’t understand the height in what to set and measure, in the flagships margin-top: 15px; will be almost invisible.
How to measure top and bottom margins for a mobile site?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Serykh, 2015-03-11
@noddux

There is such a unit as vh - this is 1% of the height of the viewport. Those. all the height available to you is 100vh.
You can use vh in conjunction with media queries.

E
EVOSandru6, 2015-03-11
@EVOSandru6

You can also use percentage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question