Thursday, September 12, 2013

Percentage height basing on 2 div

Percentage height basing on 2 div

I have 2 div inside another one
<div id="1">
<div id="11">aaa</div>
<div id="12"></div>
</div>
I don't know the height of #11 and #1 height is 100%; How can i set 100%
of #12, without going overflow?
#12 { height: calc(100% - ?); }
Thanks

No comments:

Post a Comment