Html 角度设置动态样式在Chrome中不起作用
我想一步一步地将div的高度增加20px,为什么下面的代码只在Chrome中工作而在IE中不工作Html 角度设置动态样式在Chrome中不起作用,html,css,angularjs,Html,Css,Angularjs,我想一步一步地将div的高度增加20px,为什么下面的代码只在Chrome中工作而在IE中不工作 <div ng-repeat="p in percentage"> <div style="height: {{$index*20+5}}px"></div> </div> 使用ng style=height:{{$index*20+5}}px 换成 <div ng-repeat="p in percentage"> <div
<div ng-repeat="p in percentage">
<div style="height: {{$index*20+5}}px"></div>
</div>
使用ng style=height:{{$index*20+5}}px
换成
<div ng-repeat="p in percentage"> <div ng-style="height: {{$index*20+5}}px"></div>
指