jquery CSS Selector

Source: Internet
Author: User

CSS tutorials These methods get and set the CSS-related attributes of the element.

。 AddClass ()
attributes, class attributes will specify the class (class) to match each element.

。 CSS ()
The value of the style property of the first element set by the matching element that is obtained in the Style property.

。 Hasclass ()
property, class property determines whether to match any assigned class of the element.

。 Height ()
Dimension, Style property gets the first element in the matched element to set the current calculation height.

。 Innerheight ()
Dimensions, style properties Gets the height of the current calculation for the first element that is used in the matching element, but not the fill boundary setting.

。 Innerwidth ()
Dimensions, style properties Gets the width of the current calculation for the first element that is used in the matching element, but not the fill boundary setting.

。 Offset ()
Offset printing, style properties gets the current set of matching elements, relative to the coordinates of the first element of the file.

。 Outerheight ()
Dimensions, style properties get the height of the current calculation for the first element in the matching element, including padding, and the boundary is set, and can select the margin.

。 Outerwidth ()
Dimensions, style properties Gets the width of the current calculation for the first element that is set for the matching element, including padding and bounds.

。 Location ()
Offset, style property gets the current set of matching elements, relative to the parent's first element's offset coordinates.

。 Example pair ()
attributes, class attributes delete a class, multiple classes, or elements from each matching element in all classes.

。 ScrollLeft ()
Offset, the Style property gets the current horizontal position of the scroll bar for the first element of the matching element collection.

。 ScrollTop ()
Offset, the Style property gets the current vertical position of the scroll bar for the first element of the matching element collection.

。 HTML code: jquery ()
attribute, class attribute adds or deletes the collection element of each element to match one or more classes, depending on the existence of either class or the parameter values of the switch.

。 Width ()
Dimension, Style property gets the first element in the matching element to set the current calculation width.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.