You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/jquery-basics/css-styling-dimensions.md
+2
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ contains multiple properties. This is a common way to pass multiple arguments
31
31
to a function, and many jQuery setter methods accept objects to set mulitple
32
32
values at once.
33
33
34
+
**Note:** while we do not recommend using `$.fn.css` as a setter in production-ready code (see below), when passing in an object to set CSS, CSS properties will be camelCased, instead of using a hypen.
35
+
34
36
### Using CSS Classes for Styling
35
37
36
38
As a getter, the `$.fn.css` method is valuable; however, it should generally be
0 commit comments