CSS - Get property of other element
问题 I wonder if is it possible to refer to some elements using something like the Javascript DOM, without using Javascript or other programming languages. This is what I mean. Suppose that we have two divs that should have the same height. I would like to get the first div's height to assign this to the second one, like this : #div1 { height:400px; } #div2 { height:#div1.height; } As you can see, I'm doing exactly the same of document.getElementById("id").style.height in Javascript. Is it