angular.js - How to modify the css style of the controller's js file in angular, such as margin: 0?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-15 17:10:10
0
2
616

How to modify the margin of js files in angular?

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

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