Last active
May 31, 2025 20:09
-
-
Save Integralist/1186292 to your computer and use it in GitHub Desktop.
displays CSS properties that support URL as value via @LeaVerou #js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s = document.body.style; | |
for (var i in s) { | |
s[i] = "url('foo')"; | |
if(s[i]) { | |
console.log(i); | |
s[i] = '' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment