Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Draw a Taichi symbol with CSS
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
.taichi {
width: 400px;
height: 400px;
background: linear-gradient(to right, #fff 50%, #000 50%);
box-shadow: #333 0px 0px 5px;
border-radius: 50%;
.taichi::after {
content: "";
display: block;
box-sizing: border-box;
width: 200px;
height: 200px;
margin-left: 100px;
border-radius: inherit;
.taichi::before {
background: #000;
border: 70px solid #fff;
.taichi::after {
background: #fff;
border: 70px solid #000;
<div class="taichi"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment