I have a div that I want to set the height of to 1/2 the height of another div. Is there a way I can say something like height: 50% of height of divid1;
3 Answers
sorry, no, not in standard CSS. Unless you want the height of the containing DIV, then ofcourse you can use 50%. Maybe a solution for you would be to look into something like SASS (http://sass-lang.com/)