<div class="cards">
<div class='uno'>
<div class='uno-card'>
<span class='card-content'>1</span>
<span class='center-outline'>
</div>
</div>
<h1>Uno!</h1>
</div>
body {
height: 100vh;
margin: 0;
display: grid;
place-items: center;
font-family: sans-serif;
text-shadow: 1px 1px 1px black;
color: white;
background: rgb(98, 205, 57);
background: radial-gradient(circle, #9bc53d 50%, #4caf50 100%);
overflow: hidden;
}
h1 {
text-align: center;
font-size: 3rem;
}
span {
margin: auto;
font-size: 10rem;
}
.uno-card {
border-radius: 24px;
background: #3e8a20;
height: 380px;
width: 248px;
display: flex;
}
span.card-content::before {
content: "1";
transform: translate(-90%, -79%) scale(0.4);
position: fixed;
}
span.card-content::after {
content: "1";
transform: translate(0%, 79%) scale(0.4);
position: fixed;
}
.center-outline {
border: 10px solid white;
transform: rotate3d(2, 1, 1, 162deg);
position: fixed;
height: 371px;
width: 230px;
border-radius: 50%;
}
.uno {
padding: 16px;
background: white;
border: 1px solid black;
border-radius: 24px;
box-shadow: 6px 8px 12px 1px black;
overflow: hidden;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.