jQuery CSS Method

Read the tutorial on YogiHosting »

1. Return Backgound Color CSS Property

Click Me

2. Return Multiple CSS Properties

Click Me

Click Me

Click Me

Click Me

3. Sets a Single CSS Style Property

Change Color to Orange on Mouseover

4. Sets Multiple CSS Style Properties Property

Blue Circle

5. Changing a CSS Property Using Function

Click to increase the left padding by 40px

6. Move Them to Right Relatively using Function Parameter

First Paragraph

Second Paragraph

Third Paragraph

Fourth Paragraph

Fifth Paragraph