Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<style>
div {
color: red;
transition: margin 1s ease, all 2s;
}
</style>
<div>Should turn Green</div>
<script>
onload = function() {
document.querySelector('div').style.color = "green";
document.body.offsetTop;
}
</script>