Say I have this code:
<div style="width:100%" id="a"></div>
<div id="b"></div>
I want the #b's height to equal #a's width and always following that value.
What I can do is to use JS to get #a's width and set it to #b's height.
However, is there any pure CSS way to do so, something like this:
#b {
height:getvalue('#a', 'width');
}