Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<style>
span { color: green; }
[style*=red] + * { color: red; }
</style>
</head>
<body onload="document.getElementById('x').style.color = 'blue'">
<span id="x" style="color: red"></span><span>This should be green</span>
</body>
</html>