I learned about the CSS function calc() and its awesome. I tried to use it like:
#abc {
width: calc(100%-120px);
height: 50px;
background: black;
}
<div id="abc"></div>
But the problem with this function is that it doesn't work. I tested this code IE9 and Safari and it didn't work.
Why doesn't it work?