Get element's custom css properties (-mystyle) using JavaScript

后端 未结 7 1796
南旧
南旧 2020-11-28 14:13

In an application where certain elements have custom CSS properties, is there any way to retrieve such a value via JavaScript?

e.g.

7条回答
提交回复
热议问题