我需要有多个原始样式属性,如:
$scope.css = "'width': 'calc(100% - "+$scope.fixedColumnsWidth+"'),'margin-left':'"+ $scope.fixedColumnsWidth+"'";
<div ng-style="{css}">
Run Code Online (Sandbox Code Playgroud)
这不起作用.它在我使用时有效
<div style="{{css}}">
Run Code Online (Sandbox Code Playgroud)
但不适用于IE.