Skip to content

Instantly share code, notes, and snippets.

@OMGZui
Created June 13, 2022 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OMGZui/4f4486df1d4253fc5410f1eb868eb0d3 to your computer and use it in GitHub Desktop.
Save OMGZui/4f4486df1d4253fc5410f1eb868eb0d3 to your computer and use it in GitHub Desktop.
.head .front {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
width: 96%;
height: 96%;
margin: auto;
background: -webkit-linear-gradient(top, transparent 20px, var(--bg) 21px),
-webkit-linear-gradient(left, transparent 40px, var(--bg) 41px);
background-size: 43px 23px;
border-radius: 50%;
border: 3px solid var(--bg);
z-index: 999;
}
.front::after {
position: absolute;
display: block;
content: "";
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #bec4d8;
width: 50px;
height: 50px;
border-radius: 50%;
z-index: 999;
background-size: 50px 50px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment