<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>
</div>
html,
body {
margin: 0;
padding: 0;
}
body {
background: black;
}
html {
box-sizing: border-box;
}
*,
:after,
:before {
box-sizing: inherit;
}
.outer {
height: 100dvh;
background: rgb(51, 51, 51);
background-image: conic-gradient(
from 93deg,
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: 1rem;
background: rgb(51, 51, 51);
background-image: conic-gradient(
from 93deg at 50% 50%,
#75bff000 24%,
#75bff0 24%,
#75bff0 33%,
#a17de8 50%,
#a17de8 75%,
#333333 101%,
#75bff000 101%
);
border-radius: 16vh;
}
.outer:after {
inset: 2rem;
background: rgb(51, 51, 51);
background-image: conic-gradient(
from 93deg,
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;
inset: 3rem;
background: #000;
border: 2px solid #000;
border-radius: 12vh;
z-index: 3;
}
/* not working
.inner:before {
content: "";
position: absolute;
bottom: -4.5%;
left: 63%;
width: 1.1rem;
aspect-ratio: 1;
border-radius: 50%;
background: #f397e5;
border: 1px solid #fff;
}
*/
.title,
.meta {
text-align: center;
color: #fff;
font-size: 2rem;
}
.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;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.