Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<div></div>
<script>
let div = document.querySelector("div");
let cs = getComputedStyle(div);
for (let i = 0; i < cs.length; ++i)
div.style.setProperty(cs[i], cs.getPropertyValue(cs[i]));
div.style.cssText
</script>