I have some inputs which shape is square (same height same width). Their widths are related to the windows width in a responsively. But I want them to change the height automatically too when window's WIDTH is changed so they preserve the square shape.
Does this behaviour exist on CSS or jQuery?