I am trying to use calc()
for my css. I have created a simple Fiddle where I have two divs. One has a class with a style using calc()
. But it's not having any effect. Div's height is not changing.
.cont {
height: calc(100% - 20px);
}
<div class="cont" style="background-color:blue">fsdfds</div>
<div style="background-color:red">1234</div>
Thanks for help.