N
N
night_amir2012-04-12 10:06:42
css
night_amir, 2012-04-12 10:06:42

Layout. stretching div

Friends, you need to make sure that on a small screen the element is 110px high, and when zoomed out or viewed on a large screen, one element is stretched by a maximum of 225px. Where to dig? :)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FeNUMe, 2012-04-12
@FeNUMe

CSS media queries will help you with different screen sizes. You can read about them with examples here habrahabr.ru/post/141199/. But I don’t know what to do with zoom, perhaps only on the fly to switch styles using javascript, catching the zoom event.

I
IkaR49, 2012-04-12
@IkaR49

What about using min-/max-height and min-/max-width?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question