Can I access the value of invalid/custom CSS properties from JavaScript?
Posted
by Alessandro Vernet
on Stack Overflow
See other posts from Stack Overflow
or by Alessandro Vernet
Published on 2010-05-28T02:34:01Z
Indexed on
2010/05/28
2:41 UTC
Read the original article
Hit count: 209
JavaScript
|css
Assume I have the following CSS:
div {
-my-foo: 42;
}
Can I later in JavaScript somehow know what the value of the -my-foo
CSS property is for a given div
?
© Stack Overflow or respective owner