Skip to content

Instantly share code, notes, and snippets.

Created January 20, 2020 09:58
What would you like to do?
Colour Mixing
<title>Colour Swatch Mixing</title>
.container {
display: flex;
.container div {
width: 100px;
height: 100px;
opacity: 0.5;
.left {
background-color: blue;
border-radius: 5px 0 0 5px;
.right {
background-color: red;
border-radius: 0 5px 5px 0;
margin-left: -50px;
<div class="container">
<div class="left"></div>
<div class="right"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment