Skip to content

jQuery shouldn't auto-append "px" to CSS variables. #4063

@mgol

Description

@mgol

Description

jQuery shouldn't auto-append "px" to CSS variables.:

div.css( "--a", 3 ).css( "--a" ); // is: "3px", should be: "3"

Link to test case

https://jsfiddle.net/uxj3znv0/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions