angular中的js文件如何修改margin?
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
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