<h1>Cupcake Facts!</h1>
<ul>
<li>Cupcakes are essentially cakes, but cuppier.</li>
<li>The first cupcake was invented by Harley McCupcakken in 1796.</li>
<li>Alright fine, I don't actually know anything about cupcakes.</li>
</ul>
<ul>
<li>Cupcakes are essentially cakes, but cuppier.</li>
<li>The first cupcake was invented by Harley McCupcakken in 1796.</li>
<li>Alright fine, I don't actually know anything about cupcakes.</li>
</ul>
<ul>
<li>Cupcakes are essentially cakes, but cuppier.</li>
<li>The first cupcake was invented by Harley McCupcakken in 1796.</li>
<li>Alright fine, I don't actually know anything about cupcakes.</li>
</ul>
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
min-height: 100vh;
display: flex;
justify-content: center;
flex-direction: column;
gap: 20px;
font-family: "Exo", Arial, sans-serif;
line-height: 1.65;
font-size: clamp(20px, 20vw + 2rem, 30px);
color: #f5f2eb;
background-color: #81728a;
padding: 20px;
}
ul {
padding: 20px;
border-radius: 10px;
background-color: #0002;
list-style: none outside none;
width: 100%;
}
ul:nth-of-type(1) li::before {
content: "🧁";
margin-right: 10px;
}
ul:nth-of-type(2) li {
display: flex;
align-items: flex-start;
}
ul:nth-of-type(2) li::after {
content: "🧁";
margin-right: 10px;
order: -1;
}
ul:nth-of-type(3) li {
margin-left: 20px;
padding-left: 10px;
}
ul:nth-of-type(3) li::marker {
content: "🧁";
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.