2

I would like to calculate height base on width value. For regret it's not possible to do something like: height: width, but maybe it's possible with calc()?

Dmitry Bubnenkov
  • 9,415
  • 19
  • 85
  • 145
  • 1
    http://stackoverflow.com/questions/10062811/can-i-set-the-height-of-a-div-based-on-a-percentage-based-width may help you – nsilva Jul 21 '16 at 09:26
  • Possible duplicate of [css height same as width](http://stackoverflow.com/questions/21537806/css-height-same-as-width) – Vucko Jul 21 '16 at 09:26

0 Answers0