Skip to content

Instantly share code, notes, and snippets.

@lukem512
Created January 20, 2020 09:58
Embed
What would you like to do?
Colour Mixing
<html>
<head>
<title>Colour Swatch Mixing</title>
<style>
.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;
}
</style>
</head>
<body>
<div class="container">
<div class="left"></div>
<div class="right"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment