css - Firefox: calc() invalid property value -
i have element line-height set calc():
line-height: calc(3rem / 2); demo: http://codepen.io/ghodmode/pen/vlxzzd
it works fine in chrome, firefox's developer tools says it's invalid property value.
i'm sure i'm missing should obvious.
just reference:
thank you.
this known issue. firefox not support calc() values on properties accept either lengths or numbers, of line-height 1 such property. see bug 594933.
since 3rem / 2 1.5rem can hardcode amount instead workaround.
Comments
Post a Comment