<div class="outer">
<div class="inner">
<h1 class="title">Where coins Launch</h1>
<p class="meta">Start the next meta on Metadrop</p>
<a class="to-moon" href="/app/coins">
To the moon
<svg class="arrow" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<circle cx="10" cy="10" r="10" fill="#4D4D4D" />
<path d="M 6 10 L 14 10 10 6 14 10 10 14" stroke="white" fill="none" />
</svg>
</a>
<div class="ball1"></div>
<div class="ball2"></div>
<div class="ball3"></div>
<div class="line-break"></div>
</div>
</div>
html,
body {
margin: 0;
padding: 0;
}
body {
background: black;
}
html {
box-sizing: border-box;
}
*,
:after,
:before {
box-sizing: inherit;
}
.outer {
height: 100dvh;
min-height: 300px;
background: rgb(51, 51, 51);
background-image: conic-gradient(
from 50deg,
rgba(205, 244, 96, 0) 35%,
rgb(205, 244, 96) 35%,
rgb(205, 244, 96) 46%,
rgb(90, 242, 128) 60%,
rgb(90, 242, 128) 75%,
rgb(51, 51, 51) 101%,
rgb(205, 244, 96) 102%
);
border-radius: 20vh;
position: relative;
border: 10px solid #000;
}
.outer:before,
.outer:after {
content: "";
position: absolute;
border: 2px solid #000;
}
.outer:before {
inset: 20px;
background: rgb(51, 51, 51);
background-image: conic-gradient(
from 89deg at 50% 50%,
#75bff000 24%,
#75bff0 24%,
#75bff0 33%,
#a17de8 50%,
#a17de8 75%,
#333333 101%,
#75bff000 101%
);
border-radius: 16vh;
}
.outer:after {
inset: 40px;
background: rgb(51, 51, 51);
background-image: conic-gradient(
from 129deg,
rgba(243, 150, 232, 0) 13%,
rgb(243, 150, 232) 13%,
rgb(243, 150, 232) 33%,
rgb(253, 184, 64) 50%,
rgb(253, 184, 64) 75%,
rgb(51, 51, 51) 101%,
rgba(243, 150, 232, 0) 101%
);
border-radius: 14vh;
}
.inner {
position: absolute;
display: flex;
flex-wrap: wrap;
align-content: center;
inset: 60px;
background: #000;
border: 2px solid #000;
border-radius: 12vh;
z-index: 3;
}
.ball1,
.ball2,
.ball3 {
position: absolute;
bottom: -20px;
left: 50%;
background: #f397e5;
width: 20%;
height: 18px;
}
.ball1:after,
.ball2:after,
.ball3:after,
.ball1:before,
.ball2:before,
.ball3:before {
content: "";
position: absolute;
right: -10px;
top: -1px;
width: 20px;
aspect-ratio: 1;
border-radius: 50%;
background: #f397e5;
z-index: 4;
box-shadow: -1px 0 1px 1px rgba(255, 255, 255, 0.5);
}
.ball1:before {
right: -15px;
z-index: 5;
}
.ball2 {
background: rgb(51, 51, 51);
z-index: 5;
bottom: -40px;
width: 21%;
}
.ball2:after {
right: auto;
left: -5px;
background: #8ba0e9;
}
.ball2:before {
right: auto;
left: -10px;
background: #8ba0e9;
}
.ball3 {
background: rgb(51, 51, 51);
z-index: 6;
bottom: -62px;
height: 20px;
left: 33%;
width: 30%;
}
.ball3:after {
right: auto;
left: -5px;
background: #acf376;
width: 20px;
top: 0;
}
.ball3:before {
right: auto;
left: -10px;
background: #acf376;
width: 20px;
top: 0;
}
.title,
.meta {
text-align: center;
color: #fff;
font-size: 2rem;
flex: 1 0 100%;
margin: 0 0 20px;
}
.meta {
color: gray;
font-size: 1rem;
}
.to-moon {
display: flex;
margin: auto;
width: max-content;
align-items: center;
margin: auto;
border-radius: 2rem;
background: #fff;
padding: 0.5rem;
vertical-align: middle;
text-decoration: none;
color: #000;
gap: 0.5rem;
}
.to-moon:hover {
background: rgba(255, 255, 255, 0.8);
}
.arrow {
width: 30px;
height: 30px;
}
.line-break {
position: absolute;
right: -22px;
top: 50%;
width: 20px;
height: 7px;
background: white;
border-radius: 2px 0px 2px 2px;
}
.line-break:after,
.line-break:before {
content: "";
background: white;
position: absolute;
left: 99%;
width: 101%;
height: 100%;
z-index: 5;
top: -5px;
border-radius: 2px;
border-radius: 2px 2px 0 0;
}
.line-break:before {
left: 198%;
top: 0;
border-radius: 0 2px 2px 2px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.