blob: 86a1d57d73da2a55e428a49c66b9cd4ebc2b4129 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<!DOCTYPE html>
<style>
p { --variable: value; transition: 1s --variable; }
</style>
<p>Hello.</p>
<script>
window.onload = function() {
document.querySelector("p").style.color = "green";
};
</script>
|