I'm using calc() to position an image 10px from the right of a responsive container. I have a declaration like so:
background-position: calc(100% - 10px) 6px;
Whenever I try to:
- load that CSS into the page normally or
- enter it via Developer Tools
IE 9 completely crashes. No errors in Developer Tools, just straight to crash. This works in all other (future) browsers but my goal is to support IE 9 as well.
calc()
seems to work on other properties like margin
and width
just fine. Here is the full CSS trace of the related element:
Here it's set to 98%
, but when I use calc
on background-position-x
(as shown above) IE 9 crashes.
Thank you!
background-position: calc(100% - 10px) calc(6px + 0);
. – Tishtisha