How to make the height of the second block relative to the first in pure javascript?

  • 0
    How to make the height of the second block relative to the first in pure javascript? For example, in the first diva there is a lot of content, and in the second one it is smaller and the second in height is naturally less in height, I heard about getComputedStyle, but how to apply it? Or are there other examples? Thanks to everyone who will respond
    JavaScript Daphne Bush, Mar 10, 2020

  • 1 Answers
  • 0
    here is the solution https://codepen.io/vladgr/pen/KKMaoWO in pure js but only on float built
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!