B
B
Boris Hasikov2016-12-27 15:28:57
JavaScript
Boris Hasikov, 2016-12-27 15:28:57

How to achieve equality of sides with rubber imposition?

Good day, guys!

I want to achieve equality of the width and height of the block, when laying out an adaptive design. It is necessary that the height is always equal to the width. It doesn't have to change dynamically. The main thing is that after loading the page, the height of the block should be equal to the width of the same block. I also connected jscrollpane to the parent of these blocks.

Is it possible to do this in css or jquery. If jquery, will jscrollpane work correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2016-12-27
@borishasikov

square div

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question