| CARVIEW |
Select Language
HTTP/2 301
date: Fri, 26 Dec 2025 06:55:59 GMT
content-type: text/html; charset=UTF-8
location: https://jqueryui.com/addClass/
server: cloudflare
cache-control: public, max-age=14400
x-powered-by: PHP/8.2.29
vary: X-Forwarded-Proto, accept-encoding
reporting-endpoints: csp-endpoint="https://csp-report-api.openjs-foundation.workers.dev/"
content-security-policy: default-src 'self'; script-src 'self' code.jquery.com download.jqueryui.com; style-src 'self' 'unsafe-inline' code.jquery.com download.jqueryui.com; style-src-attr 'unsafe-inline'; img-src 'self' data: code.jquery.com download.jqueryui.com; connect-src 'self' typesense.jquery.com; font-src 'self' data:; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; block-all-mixed-content ; report-to csp-endpoint; report-uri https://csp-report-api.openjs-foundation.workers.dev/; form-action 'self' download.jqueryui.com;
x-redirect-by: WordPress
cf-cache-status: MISS
expires: Fri, 26 Dec 2025 10:55:59 GMT
cf-ray: 9b3eacf6f86fc16f-BLR
HTTP/2 200
date: Fri, 26 Dec 2025 06:55:59 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
vary: X-Forwarded-Proto
x-powered-by: PHP/8.2.29
reporting-endpoints: csp-endpoint="https://csp-report-api.openjs-foundation.workers.dev/"
content-security-policy: default-src 'self'; script-src 'self' code.jquery.com download.jqueryui.com; style-src 'self' 'unsafe-inline' code.jquery.com download.jqueryui.com; style-src-attr 'unsafe-inline'; img-src 'self' data: code.jquery.com download.jqueryui.com; connect-src 'self' typesense.jquery.com; font-src 'self' data:; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; block-all-mixed-content ; report-to csp-endpoint; report-uri https://csp-report-api.openjs-foundation.workers.dev/; form-action 'self' download.jqueryui.com;
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
content-encoding: gzip
cf-cache-status: BYPASS
cf-ray: 9b3eacfb8b0cc16f-BLR
Add Class | jQuery UI
Add Class
Adds class(es) to elements while animating all style changes.
Examples
This demo adds a class which animates: text-indent, letter-spacing, width, height, padding, margin, and font-size.
view source
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
|
Want to learn more about the .addClass() method? Check out
the API documentation.