css - calc() in less doesn't work -
this question has answer here:
- less aggressive compilation css3 calc 3 answers
i want div has right margin depending of screen width. wrote following css rule:
...{ right: calc(100% - 960px); }
but see in following result in firebug:
right: calc(-860%) !important;
how can fix it?
my problem using less instead of css. resolved doing
right: calc(~"100% - 960px");
Comments
Post a Comment