.css Method

Syntax

.css()

Description

The .css method returns the css property value of an element. The .css() allows to change the style property of the specified element. The below example shows how to change the style of an element using CSS Style property.

Example Code

Result:


Jquery CSS Style Property.

Click Mouse Once Here




Ask Questions

Ask Question