<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Highlight priority attribute painting</title> | |
<style> | |
#green-highlight { | |
background-color: green; | |
} | |
.yellow-highlight { | |
background-color: yellow; | |
} | |
.blue-highlight { | |
background-color: blue; | |
} | |
</style> | |
</head> | |
<body> | |
<span id="green-highlight">Green</span> | |
<span class="yellow-highlight">Yellow</span> | |
<span class="blue-highlight">Blue</span> | |
<span class="yellow-highlight">Yellow</span><span class="blue-highlight">-Blue</span> | |
</body> | |
</html> |