angular.js - angular中的controller 的js文件如何修改css样式比如margin:0?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-15 17:10:10
0
2
579

angular中的js文件如何修改margin?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
大家讲道理

It is recommended that you take a look at the two instructions ng-class and ng-style.

仅有的幸福

Try to use ng-class to set styles. Let style issues stay in the css and html files as much as possible. Of course, you can also directly use angular.element() to obtain a jQuery-like object. You will know the next steps

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template