A
A
AntonSork2016-04-15 12:11:30
css
AntonSork, 2016-04-15 12:11:30

How do you manage the height so that it's both pixel perfect and responsive?

The height of an element in the context of responsive layout is generally a mystery to me. Those. I understand that it is automatically considered by the majority, etc. But there are cases when we need to control the height of an element, for example,
be3570d3f9b94aefab567ef7758d72ae.png
How to make it so that with a nominal width (1600) everything is accurate and when the viewport is reduced (well, let it be up to 900), the whole structure adapts reasonably?
Picture. if someone needs

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2016-04-15
@AntonSork

Set height and width to vw/vh
Check out my layout https://dl.dropboxusercontent.com/u/41168881/TECH/...

A
A person from Kazakhstan, 2016-04-15
@LenovoId

and if at all to not specify height?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question