Style Properties
These methods get and set CSS-related properties of elements.
-
.css()
Get the value of a style property for the first element in the set of matched elements.
-
.height()
Get the current computed height for the first element in the set of matched elements.
-
.innerHeight()
Get the current computed height for the first element in the set of matched elements, including padding but not border.
-
.innerWidth()
Get the current computed width for the first element in the set of matched elements, including padding but not border.
-
.offset()
Get the current coordinates of the first element in the set of matched elements, relative to the document.
-
.outerHeight()
Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin.
-
.outerWidth()
Get the current computed width for the first element in the set of matched elements, including padding and border.
-
.position()
Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
-
.scrollLeft()
Get the current horizontal position of the scroll bar for the first element in the set of matched elements.
-
.scrollTop()
Get the current vertical position of the scroll bar for the first element in the set of matched elements.
-
.width()
Get the current computed width for the first element in the set of matched elements.