我使用 Angular 的 ng 样式和 css 的“calc()”进行了以下内联样式,但它不起作用。谁能告诉我有什么问题?
// my jade file has a class named '.logo-area'.
.logo-area(ng-style="{'right':'calc(100% -'+({{fixedWidth}}+'px') +')'}")
我使用 Angular 的 ng 样式和 css 的“calc()”进行了以下内联样式,但它不起作用。谁能告诉我有什么问题?
// my jade file has a class named '.logo-area'.
.logo-area(ng-style="{'right':'calc(100% -'+({{fixedWidth}}+'px') +')'}")