Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!--
Any copyright is dedicated to the Public Domain.
-->
<html>
<style>
#a {
width: 200px;
height: 200px;
background-color: rgb(0,255,0);
}
#b {
width: 100px;
height: 100px;
background: linear-gradient(rgb(0,0,255), rgb(255,0,0));
mix-blend-mode:difference;
}
</style>
<div id="a">
<div id="b">
</div>
</div>
</html>